Commit graph

6 commits

Author SHA1 Message Date
Stephen Kennedy
dfcdbb0d33 KeymapManager - implemented loading/saving of keymaps
- Refactoring of code to map a key to a UserAction - now we call a method on UserAction to do it (and it then tells the Keymap class)
- General cleanup of code

svn-id: r33262
2008-07-24 10:00:56 +00:00
Stephen Kennedy
2f064da102 Most of Keymapper class complete
DefaultEventManager now initialises Keymapper and passes key press events to it

svn-id: r33227
2008-07-23 08:45:12 +00:00
Stephen Kennedy
871adba671 Refactored KeymapManager to use Domain's of Keymaps rather than a single list.
Further development of Keymapper interface: 
- switchKeymap method to change Keymaps
- initGame/deInitGame methods to control loading/unloading of game-specific maps

svn-id: r33173
2008-07-21 15:55:25 +00:00
Stephen Kennedy
757ed1a094 Moved UserAction and HardwareKey classes into their own respective header files.
Added HardwareKeySet class to manage a devices set of hardware keys.
Started implementing Keymapper class.

svn-id: r33157
2008-07-21 00:11:25 +00:00
Stephen Kennedy
4c730401fe WIP KeymapManager implementation, can only register/unregister keymaps.
svn-id: r33131
2008-07-20 15:42:52 +00:00
Stephen Kennedy
19345b5a62 Keymap class implemented. KeymapManager and Keymapper classes started
svn-id: r33107
2008-07-19 00:57:37 +00:00