summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/ks_names.h4
-rw-r--r--win/tkWinKey.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/generic/ks_names.h b/generic/ks_names.h
index 3eee008..e3d33f9 100644
--- a/generic/ks_names.h
+++ b/generic/ks_names.h
@@ -1,5 +1,6 @@
/*
* This file is generated from $(INCLUDESRC)/keysymdef.h. Do not edit.
+ * SCCS: %Z% $Id: ks_names.h,v 1.2 1998/07/06 23:06:48 welch Exp $
*/
{ "BackSpace", 0xFF08 },
{ "Tab", 0xFF09 },
@@ -20,6 +21,9 @@
{ "Next", 0xFF56 },
{ "End", 0xFF57 },
{ "Begin", 0xFF58 },
+{ "Win_L", 0xFF5B },
+{ "Win_R", 0xFF5C },
+{ "App", 0xFF5D },
{ "Select", 0xFF60 },
{ "Print", 0xFF61 },
{ "Execute", 0xFF62 },
diff --git a/win/tkWinKey.c b/win/tkWinKey.c
index 3589143..eed5b0b 100644
--- a/win/tkWinKey.c
+++ b/win/tkWinKey.c
@@ -72,6 +72,16 @@ static Keys keymap[] = {
VK_F24, XK_F24,
VK_NUMLOCK, XK_Num_Lock,
VK_SCROLL, XK_Scroll_Lock,
+
+ /*
+ * The following support the new keys in the Microsoft keyboard.
+ * Win_L and Win_R have the windows logo. App has the menu.
+ */
+
+ VK_LWIN, XK_Win_L,
+ VK_RWIN, XK_Win_R,
+ VK_APPS, XK_App,
+
0, NoSymbol
};