From d92909203b56d9b3fa6c4989bdeb83dbed5b94d5 Mon Sep 17 00:00:00 2001 From: Stephen Kennedy Date: Mon, 18 Aug 2008 10:07:11 +0000 Subject: - proper init of virtual keyboard now implemented (involved added EventManager::init() which is called after screen has been initialised) - changed HardwareKey / Action id field to an array of 4 chars instead of int32. Means that the keymap key/value pairs in config file are more readable. svn-id: r33986 --- common/events.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common') diff --git a/common/events.h b/common/events.h index 2cc81ada23..1a20ee4e9e 100644 --- a/common/events.h +++ b/common/events.h @@ -136,6 +136,12 @@ public: RBUTTON = 1 << 1 }; + + /** + * Initialise the event manager. + * @note called after graphics system has been set up + */ + virtual void init() {} /** * Get the next event in the event queue. * @param event point to an Event struct, which will be filled with the event data. -- cgit v1.2.3