GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
controller.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_EVENTS_CONTROLLER_HPP
5#define GREM_EVENTS_CONTROLLER_HPP
6
8
10
76
77#endif
Definition controller.hpp:11
ControllerAxis
Physical controller axis identifier.
Definition controller.hpp:65
@ RIGHT_TRIGGER
Movement of the right trigger.
Definition controller.hpp:71
@ LEFT_STICK_Y
Vertical movement of the left analog stick.
Definition controller.hpp:67
@ RIGHT_STICK_Y
Vertical movement of the right analog stick.
Definition controller.hpp:69
@ RIGHT_STICK_X
Horizontal movement of the right analog stick.
Definition controller.hpp:68
@ LEFT_TRIGGER
Movement of the left trigger.
Definition controller.hpp:70
@ LEFT_STICK_X
Horizontal movement of the left analog stick.
Definition controller.hpp:66
@ INVALID
Invalid axis.
Definition controller.hpp:72
ControllerType
Common controller type categories.
Definition controller.hpp:19
@ SWITCH_PRO
Nintendo Switch Pro-like controller.
Definition controller.hpp:27
@ STEAM
Steam Controller-like controller.
Definition controller.hpp:32
@ PS5
Sony Playstation 5-like controller.
Definition controller.hpp:26
@ UNKNOWN
Unknown controller type.
Definition controller.hpp:20
@ SWITCH_JOYCON_LEFT
Nintendo Switch Left Joycon-like controller.
Definition controller.hpp:28
@ PS4
Sony Playstation 4-like controller.
Definition controller.hpp:25
@ STANDARD
Standard controller type.
Definition controller.hpp:21
@ SWITCH_JOYCON_RIGHT
Nintendo Switch Right Joycon-like controller.
Definition controller.hpp:29
@ XBOX_360
Microsoft Xbox 360-like controller.
Definition controller.hpp:22
@ PS3
Sony Playstation 3-like controller.
Definition controller.hpp:24
@ SWITCH_JOYCON_PAIR
Nintendo Switch Joycon Pair-like controller.
Definition controller.hpp:30
@ GAMECUBE
Nintendo Gamecube-like controller.
Definition controller.hpp:31
@ XBOX_ONE
Microsoft Xbox One-like controller.
Definition controller.hpp:23
ControllerButton
Physical controller button identifier.
Definition controller.hpp:38
@ MISC1
Misc1 button.
Definition controller.hpp:54
@ DPAD_LEFT
D-pad left.
Definition controller.hpp:52
@ LEFT_PADDLE1
Left paddle 1.
Definition controller.hpp:55
@ NORTH
North face button (Y/Triangle).
Definition controller.hpp:42
@ LEFT_PADDLE2
Left paddle 2.
Definition controller.hpp:57
@ RIGHT_PADDLE1
Right paddle 1.
Definition controller.hpp:56
@ EAST
East face button (B/Circle).
Definition controller.hpp:40
@ DPAD_UP
D-pad up.
Definition controller.hpp:50
@ DPAD_RIGHT
D-pad right.
Definition controller.hpp:53
@ SELECT
Select button (Select/View/Share).
Definition controller.hpp:43
@ WEST
West face button (X/Square).
Definition controller.hpp:41
@ RIGHT_SHOULDER
Right shoulder button (R Bumper/R1).
Definition controller.hpp:49
@ SOUTH
South face button (A/Cross).
Definition controller.hpp:39
@ RIGHT_STICK
Right analog stick button (R Stick/R3).
Definition controller.hpp:47
@ START
Start button (Start/Menu/Options).
Definition controller.hpp:45
@ TOUCHPAD
Touchpad button.
Definition controller.hpp:59
@ LEFT_STICK
Left analog stick button (L Stick/L3).
Definition controller.hpp:46
@ RIGHT_PADDLE2
Right paddle 2.
Definition controller.hpp:58
@ DPAD_DOWN
D-pad down.
Definition controller.hpp:51
@ LEFT_SHOULDER
Left shoulder button (L Bumper/L1).
Definition controller.hpp:48
@ GUIDE
Guide button.
Definition controller.hpp:44