1 diff -u rdesktop-1.5.0.orig/scancodes.h rdesktop-1.5.0/scancodes.h
2 --- rdesktop-1.5.0.orig/scancodes.h 2006-08-07 19:45:43.000000000 +0800
3 +++ rdesktop-1.5.0/scancodes.h 2006-10-10 09:42:25.000000000 +0800
5 #define SCANCODE_KEY_43 0x1c
6 #define SCANCODE_CHAR_ENTER SCANCODE_KEY_43
8 -#define SCANCODE_KEY_44 0x2a
9 +#define SCANCODE_KEY_44 (SCANCODE_EXTENDED | 0x2a)
10 #define SCANCODE_CHAR_LSHIFT SCANCODE_KEY_44
12 /* Only on international keyboard */
14 /* Only on Brazilian and some Far East keyboards */
15 #define SCANCODE_KEY_56 0x73
17 -#define SCANCODE_KEY_57 0x36
18 +#define SCANCODE_KEY_57 (SCANCODE_EXTENDED | 0x36)
19 #define SCANCODE_CHAR_RSHIFT SCANCODE_KEY_57
21 #define SCANCODE_KEY_58 0x1d
24 /* Key 124: The Print Screen sequence is complicated, and
25 hardcoded in xkeymap.c */
26 +#define SCANCODE_KEY_124 0xff
27 +#define SCANCODE_CHAR_PRINT SCANCODE_KEY_124
29 #define SCANCODE_KEY_125 0x46
30 #define SCANCODE_CHAR_SCROLLLOCK SCANCODE_KEY_125
32 +#define SCANCODE_KEY_126 (SCANCODE_EXTENDED | 0x59)
33 +#define SCANCODE_CHAR_PAUSE SCANCODE_KEY_126
35 /* Key 126: The Pause and Break sequences is complicated, and
36 hardcoded in xkeymap.c */