summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/input.h')
-rw-r--r--src/common/input.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h
index d997853c6..cc0cbd9b8 100644
--- a/src/common/input.h
+++ b/src/common/input.h
@@ -175,6 +175,28 @@ struct LedStatus {
175 bool led_4{}; 175 bool led_4{};
176}; 176};
177 177
178// List of buttons to be passed to Qt that can be translated
179enum class ButtonNames {
180 Undefined,
181 Invalid,
182 // This will display the engine name instead of the button name
183 Engine,
184 // This will display the button by value instead of the button name
185 Value,
186 ButtonLeft,
187 ButtonRight,
188 ButtonDown,
189 ButtonUp,
190 TriggerZ,
191 TriggerR,
192 TriggerL,
193 ButtonA,
194 ButtonB,
195 ButtonX,
196 ButtonY,
197 ButtonStart,
198};
199
178// Callback data consisting of an input type and the equivalent data status 200// Callback data consisting of an input type and the equivalent data status
179struct CallbackStatus { 201struct CallbackStatus {
180 InputType type{InputType::None}; 202 InputType type{InputType::None};