aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/eventman.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/dm/eventman.h b/engines/dm/eventman.h
index 996443df07..ae3eb90b35 100644
--- a/engines/dm/eventman.h
+++ b/engines/dm/eventman.h
@@ -167,6 +167,14 @@ extern MouseInput gPrimaryMouseInput_ScreenDialog3Choices[4]; // @ G0477_as_Grap
extern MouseInput gPrimaryMouseInput_ScreenDialog4Choices[5]; // @ G0478_as_Graphic561_PrimaryMouseInput_ScreenDialog4Choices[5]
extern MouseInput* gPrimaryMouseInput_DialogSets[2][4]; // @ G0480_aaps_PrimaryMouseInput_DialogSets
+class KeyboardInput {
+public:
+ Command commandToIssue;
+ Common::KeyCode key;
+ byte modifiers;
+
+ KeyboardInput(Command command, Common::KeyCode keycode, byte modifierFlags) : commandToIssue(command), key(keycode), modifiers(modifierFlags) {}
+}; // @ KEYBOARD_INPUT
class DMEngine;