Max Horn
edbf8c6720
Yet more cleanup
...
svn-id: r35975
2009-01-21 02:28:14 +00:00
Max Horn
b7f7a8c660
Yet more cleanup
...
svn-id: r35973
2009-01-21 02:11:25 +00:00
Max Horn
99c6943e3d
Fix what I believe to be an error in Keymapper::cleanupGameKeymaps
...
svn-id: r35972
2009-01-21 02:07:23 +00:00
Max Horn
250acd4c8d
more cleanup
...
svn-id: r35971
2009-01-21 02:02:55 +00:00
Max Horn
9abce1b894
Some cleanup / code simplification
...
svn-id: r35970
2009-01-21 01:26:04 +00:00
Max Horn
c69638d915
Added keymapper code to build system (still disabled unless ENABLE_KEYMAPPER is set); made some code fixes (still not working properly, but it is a start)
...
svn-id: r35897
2009-01-18 14:46:53 +00:00
Stephen Kennedy
df3b8fd14c
Added preprocessor flags 'ENABLE_VKEYBD' and 'ENABLE_KEYMAPPER' to control inclusion of vkeybd and keymapper in build.\n\nAlso added corresponding --enable-vkeybd and --enable-keymapper flags to configure scripts.
...
svn-id: r34706
2008-09-30 13:51:01 +00:00
Stephen Kennedy
baae044e38
Proper fix for key repeat bug - r34094 caused different problems due to repeated key up events
...
svn-id: r34115
2008-08-23 17:04:40 +00:00
Stephen Kennedy
2d52f129bb
Fix for key repeat bug
...
svn-id: r34094
2008-08-22 10:36:12 +00:00
Stephen Kennedy
3451895189
Final changes to keymapper:
...
* HardwareKey's now have a type too, so that we can either match a key to an action or vice versa.
* Better test keymaps - with special gui keymap that is activated when a dialog is opened
svn-id: r34005
2008-08-18 19:54:46 +00:00
Stephen Kennedy
12d649f011
remap dialog updates
...
svn-id: r33990
2008-08-18 15:13:55 +00:00
Stephen Kennedy
565fa728e7
Removed KeymapManager class. Automatic mapping now done in Keymap. Rest of KeymapManager functionality is implemented in Keymapper.
...
svn-id: r33988
2008-08-18 14:45:42 +00:00
Stephen Kennedy
d92909203b
- 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
2008-08-18 10:07:11 +00:00
Stephen Kennedy
6f09c4f10e
Added close button on remap dialog
...
svn-id: r33888
2008-08-15 01:22:09 +00:00
Stephen Kennedy
c61294e70f
Changed Action constructor to take a pointer to the Keymap it belongs too, meaning Keymap::addAction is automatically called
...
svn-id: r33885
2008-08-14 23:45:02 +00:00
Stephen Kennedy
6d0ed23b44
Fixed crash when clicking on area of remap dialog with no button in
...
svn-id: r33884
2008-08-14 23:38:13 +00:00
Stephen Kennedy
08ef79ce45
Loads of valgrind fixes
...
svn-id: r33869
2008-08-14 19:20:25 +00:00
Stephen Kennedy
d40e7a6640
Fix for regression
...
svn-id: r33854
2008-08-14 01:48:19 +00:00
Stephen Kennedy
c1e8e340ff
* Saving of keymaps fully implemented
...
* Added Keymapper::cleanupGameKeymaps() with code to remove game keymaps from active stack
svn-id: r33853
2008-08-14 01:42:02 +00:00
Stephen Kennedy
5ca906fbd7
Keymapper: support for saving to config file enabled
...
svn-id: r33850
2008-08-13 22:20:18 +00:00
Stephen Kennedy
70dde2d8bd
RemapDialog now properly uses reflowLayout() and open(), so that the same instance can be reopened
...
svn-id: r33843
2008-08-13 19:24:52 +00:00
Stephen Kennedy
17c1dba992
Keymapper WIP:
...
* Further improvement of automatic mapping
* Remap dialog - added timeout feature
svn-id: r33827
2008-08-13 14:33:17 +00:00
Stephen Kennedy
532faef82b
Keymapper WIP:
...
* Improved automatic mapping algorithm
* Remap dialog overhaul - now displays active keymap(s)
svn-id: r33821
2008-08-13 11:46:08 +00:00
Stephen Kennedy
300a1df2b0
Remap dialog WIP
...
svn-id: r33791
2008-08-11 23:08:21 +00:00
Stephen Kennedy
4eacc09024
Keymapper WIP:
...
* Got rid of default keymaps as they over-complicated the API
* Remapping dialog WIP
svn-id: r33699
2008-08-08 14:23:59 +00:00
Stephen Kennedy
2645ca48ad
* Moved VK code into backends/vkeybd
...
* Moved Keymapper code into backends/keymapper
svn-id: r33681
2008-08-07 16:38:39 +00:00