aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/sword2.h')
-rw-r--r--engines/sword2/sword2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sword2/sword2.h b/engines/sword2/sword2.h
index b6d6c331f9..a9a1e21875 100644
--- a/engines/sword2/sword2.h
+++ b/engines/sword2/sword2.h
@@ -39,6 +39,7 @@
#include "engines/engine.h"
+#include "common/events.h"
#include "common/util.h"
#define MAX_starts 100
@@ -79,9 +80,7 @@ struct MouseEvent {
struct KeyboardEvent {
bool pending;
- uint16 ascii;
- int keycode;
- int modifiers;
+ Common::KeyState kbd;
};
struct StartUp {