Skip to main content

Gamepad.ixx File

Identifiers for supported gamepads. More...

Namespaces Index

namespacehelios
namespaceengine
namespaceinput
namespacetypes

Description

Identifiers for supported gamepads.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.engine.input.types.Gamepad;
8
10
17 enum class GamepadInput {
18
22 Start = 1 << 0,
23
27 Select = 1 << 5,
28
32 A = 1 << 1,
33
37 B = 1 << 2,
38
42 X = 1 << 3,
43
47 Y = 1 << 4,
48
52 LeftStick = 1 << 6,
53
57 RightStick = 1 << 7,
58
62 Up = 1 << 8,
63
67 Down = 1 << 9,
68
72 Left = 1 << 10,
73
77 Right = 1 << 11,
78
82 LeftBumper = 1 << 12,
83
87 RightBumper = 1 << 13,
88
92 LeftTrigger = 1 << 14,
93
97 RightTrigger = 1 << 15
98 };
99
110 enum Gamepad {
111 ONE = 1, // 1
112 TWO = 2, // 10
113 THREE = 4, // 100
114 FOUR = 8, // 1000
115
116
117
121 size_ = 4
122 };
123
124}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.