aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2015-05-09 07:10:21 +0000
committercorvid <devnull@localhost>2015-05-09 07:10:21 +0000
commitc76f42cba86461b0ae9a622f7f9b22a1127c2436 (patch)
treefcbc02cc39585931467caa3b879a2efd132dc245
parentfd3df37d0596e4d082d9d821179119d12808dfee (diff)
keys: add Menu key
Now have a computer with windows keys :( and, at least for me, the one that looks like a menu is apparently "Menu" in xev. (Although some FLTK documentation and other stuff on the web suggests that this used to [or maybe still does for some people] cause Super_R (xev), which would then turn into FL_Meta_R in FLTK.)
-rw-r--r--src/keys.cc1
-rw-r--r--src/keysrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/keys.cc b/src/keys.cc
index 27b275a3..44f6acd9 100644
--- a/src/keys.cc
+++ b/src/keys.cc
@@ -59,6 +59,7 @@ static const Mapping_t keyNames[] = {
{ "Home", FL_Home },
{ "Insert", FL_Insert },
{ "Left", FL_Left },
+ { "Menu", FL_Menu },
{ "PageDown", FL_Page_Down },
{ "PageUp", FL_Page_Up },
{ "Print", FL_Print },
diff --git a/src/keysrc b/src/keysrc
index 11913e78..64d527d6 100644
--- a/src/keysrc
+++ b/src/keysrc
@@ -9,7 +9,7 @@
# (OS X: Use "Meta" for Command)
#
# Key names recognized: "Backspace", "Delete", "Down", "End", "Esc",
-# "F1" through "F12", "Home", "Insert", "Left", "PageDown", "PageUp",
+# "F1" through "F12", "Home", "Insert", "Left", "Menu", "PageDown", "PageUp",
# "Print", "Return", "Right", "Space", "Tab", "Up".
#
# Multimedia keys: "Back", "Favorites", "Forward", "HomePage", "Mail",