diff options
author | Tarek Soliman | 2012-02-14 23:02:23 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-15 17:07:52 -0600 |
commit | cce5be67dc3d171a5b30a9863f250471adecd5b0 (patch) | |
tree | 6e911ceff6d6b310668f6aee7d153a0a25708e7f /common | |
parent | 974f5eb7b8291535ea34be5260607d6e383543a7 (diff) | |
download | scummvm-rg350-cce5be67dc3d171a5b30a9863f250471adecd5b0.tar.gz scummvm-rg350-cce5be67dc3d171a5b30a9863f250471adecd5b0.tar.bz2 scummvm-rg350-cce5be67dc3d171a5b30a9863f250471adecd5b0.zip |
KEYMAPPER: Allow ports to define default Keymap Action bindings
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index c5e8214d22..34c987bf26 100644 --- a/common/system.h +++ b/common/system.h @@ -54,6 +54,7 @@ class WriteStream; #ifdef ENABLE_KEYMAPPER class HardwareKeySet; class Keymap; +class KeymapperDefaultBindings; #endif } @@ -955,6 +956,15 @@ public: * See keymapper documentation for further reference. */ virtual Common::Keymap *getGlobalKeymap() { return 0; } + + /** + * Return platform-specific default keybindings + * + * @return KeymapperDefaultBindings populated with keybindings + * + * See keymapper documentation for further reference. + */ + virtual Common::KeymapperDefaultBindings *getKeymapperDefaultBindings() { return 0; } #endif //@} |