diff options
author | Tarek Soliman | 2011-12-12 20:15:08 -0600 |
---|---|---|
committer | Tarek Soliman | 2011-12-12 20:18:40 -0600 |
commit | feb04d2164766378d40304a843ab0374b87320a1 (patch) | |
tree | 87bd4e9c00961e07273da21837c78e8f1ab1d540 /backends/keymapper | |
parent | 22d3118aff380aa301443275953fb1af7624d136 (diff) | |
download | scummvm-rg350-feb04d2164766378d40304a843ab0374b87320a1.tar.gz scummvm-rg350-feb04d2164766378d40304a843ab0374b87320a1.tar.bz2 scummvm-rg350-feb04d2164766378d40304a843ab0374b87320a1.zip |
KEYMAPPER: Add Common::KeyActionEntry for making simple keymap tables
Diffstat (limited to 'backends/keymapper')
-rw-r--r-- | backends/keymapper/action.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/keymapper/action.h b/backends/keymapper/action.h index b15b3aaaad..e5bf6d51dd 100644 --- a/backends/keymapper/action.h +++ b/backends/keymapper/action.h @@ -40,6 +40,12 @@ class Keymap; #define ACTION_ID_SIZE (4) +struct KeyActionEntry { + const KeyState ks; + const char *id; + const char *description; +}; + struct Action { /** unique id used for saving/loading to config */ char id[ACTION_ID_SIZE]; |