diff options
Diffstat (limited to 'xorg-server/hw/xwin/winkeybd.h')
-rw-r--r-- | xorg-server/hw/xwin/winkeybd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winkeybd.h b/xorg-server/hw/xwin/winkeybd.h index 37cc66733..887ab7ad6 100644 --- a/xorg-server/hw/xwin/winkeybd.h +++ b/xorg-server/hw/xwin/winkeybd.h @@ -35,6 +35,8 @@ */
#include "winkeynames.h"
+#define VK_FN 0xFF
+
#define WIN_KEYMAP_COLS 3
/* ASCII column, rows 33 through 40 are for Speech Recognition with
@@ -300,7 +302,7 @@ g_iKeyMap [] = { /* 252 */ 0, 0, 0,
/* 253 */ 0, 0, 0,
/* 254 */ 0, 0, 0,
- /* 255 */ 0, 0, 0
+ /* 255 */ VK_FN, 0, KEY_Fn /* Most keyboards don't generate a scancode for Fn, but a few do... */
};
#endif /* WINKEYBD_H */
|