From c76f42cba86461b0ae9a622f7f9b22a1127c2436 Mon Sep 17 00:00:00 2001 From: corvid Date: Sat, 9 May 2015 07:10:21 +0000 Subject: 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.) --- src/keys.cc | 1 + src/keysrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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", -- cgit v1.2.3