summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwelch <welch>1998-07-06 23:06:48 (GMT)
committerwelch <welch>1998-07-06 23:06:48 (GMT)
commit88c9100216976318a2c508db006c3e34e6dcb69d (patch)
treea580f8ab4afec3a5194adaa921541371b4e57836
parent2c1aa399bea3b46f9c58b03b3e5305d78b694ff5 (diff)
downloadtk-88c9100216976318a2c508db006c3e34e6dcb69d.zip
tk-88c9100216976318a2c508db006c3e34e6dcb69d.tar.gz
tk-88c9100216976318a2c508db006c3e34e6dcb69d.tar.bz2
New Windows keysyms
-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
};