Commit graph

9 commits

Author SHA1 Message Date
Stephen Kennedy
57b13141af Keymapper WIP:
* Implemented stack-based active map in Keymapper
* Started proper testing by adding code to OSystem_SDL to set up simple HardwareKeySet and Keymap

svn-id: r33660
2008-08-06 14:21:05 +00:00
Stephen Kennedy
1caf48b084 Keymapper WIP:
* Renamed UserAction to simply Action
* Implemented simple automatic mapping algorithm

svn-id: r33497
2008-08-01 16:44:49 +00:00
Stephen Kennedy
e2a2a672f5 - major re-factoring of VK - all GUI-related code has been abstracted to VirtualKeyboardGUI class
- fixed bug with parsing modifiers in VirtualKeyboardParser
- fixed numerous GCC warnings

svn-id: r33448
2008-07-30 13:47:54 +00:00
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