diff options
Diffstat (limited to 'backends/events/default/default-events.h')
-rw-r--r-- | backends/events/default/default-events.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/backends/events/default/default-events.h b/backends/events/default/default-events.h index 38406c25aa..67c7f7708e 100644 --- a/backends/events/default/default-events.h +++ b/backends/events/default/default-events.h @@ -67,12 +67,10 @@ class DefaultEventManager : public Common::EventManager, Common::EventObserver { kKeyRepeatSustainDelay = 100 }; - struct { - uint16 ascii; - byte flags; - int keycode; - } _currentKeyDown; + Common::KeyState _currentKeyDown; uint32 _keyRepeatTime; + + void handleKeyRepeat(); public: DefaultEventManager(Common::EventSource *boss); ~DefaultEventManager(); |