aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index fc5535a4dc..cadc035501 100644
--- a/common/system.h
+++ b/common/system.h
@@ -48,6 +48,7 @@ namespace Common {
class TimerManager;
class SeekableReadStream;
class WriteStream;
+ class HardwareKeySet;
}
class FilesystemFactory;
@@ -744,6 +745,15 @@ public:
*/
virtual Common::EventManager *getEventManager() = 0;
+ /**
+ * Register hardware keys with keymapper
+ *
+ * @return HardwareKeySet with all keys and recommended mappings
+ *
+ * See keymapper documentation for further reference.
+ */
+ virtual Common::HardwareKeySet *getHardwareKeySet() { return 0; }
+
//@}