aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/KeyMap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/KeyMap.cxx')
-rw-r--r--src/KeyMap.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KeyMap.cxx b/src/KeyMap.cxx
index 55f690f07..d7f87a5d9 100644
--- a/src/KeyMap.cxx
+++ b/src/KeyMap.cxx
@@ -46,6 +46,10 @@ unsigned int KeyMap::Find(int key, int modifiers) const {
return (it == kmap.end()) ? 0 : it->second;
}
+const std::map<KeyModifiers, unsigned int> &KeyMap::GetKeyMap() const {
+ return kmap;
+}
+
#if PLAT_GTK_MACOSX
#define OS_X_KEYS 1
#else