Search
lxdream.org :: lxdream/src/dckeysyms.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dckeysyms.h
changeset 681:1755a126b109
prev611:0c5f53a87501
author nkeynes
date Fri Feb 24 21:11:58 2012 +1000 (10 years ago)
permissions -rw-r--r--
last change Add preprocessing support to genglsl
file annotate diff log raw
1.1 --- a/src/dckeysyms.h Sat Jan 26 03:44:22 2008 +0000
1.2 +++ b/src/dckeysyms.h Fri Feb 24 21:11:58 2012 +1000
1.3 @@ -22,32 +22,32 @@
1.4
1.5 #define DCKB_NONE 0x00
1.6 #define DCKB_ERROR 0x01
1.7 -#define DCKB_A 0x04
1.8 -#define DCKB_B 0x05
1.9 -#define DCKB_C 0x06
1.10 -#define DCKB_D 0x07
1.11 -#define DCKB_E 0x08
1.12 -#define DCKB_F 0x09
1.13 -#define DCKB_G 0x0A
1.14 -#define DCKB_H 0x0B
1.15 -#define DCKB_I 0x0C
1.16 -#define DCKB_J 0x0D
1.17 -#define DCKB_K 0x0E
1.18 -#define DCKB_L 0x0F
1.19 -#define DCKB_M 0x10
1.20 -#define DCKB_N 0x11
1.21 -#define DCKB_O 0x12
1.22 -#define DCKB_P 0x13
1.23 -#define DCKB_Q 0x14
1.24 -#define DCKB_R 0x15
1.25 -#define DCKB_S 0x16
1.26 -#define DCKB_T 0x17
1.27 -#define DCKB_U 0x18
1.28 -#define DCKB_V 0x19
1.29 -#define DCKB_W 0x1A
1.30 -#define DCKB_X 0x1B
1.31 -#define DCKB_Y 0x1C
1.32 -#define DCKB_Z 0x1D
1.33 +#define DCKB_a 0x04
1.34 +#define DCKB_b 0x05
1.35 +#define DCKB_c 0x06
1.36 +#define DCKB_d 0x07
1.37 +#define DCKB_e 0x08
1.38 +#define DCKB_f 0x09
1.39 +#define DCKB_g 0x0A
1.40 +#define DCKB_h 0x0B
1.41 +#define DCKB_i 0x0C
1.42 +#define DCKB_j 0x0D
1.43 +#define DCKB_k 0x0E
1.44 +#define DCKB_l 0x0F
1.45 +#define DCKB_m 0x10
1.46 +#define DCKB_n 0x11
1.47 +#define DCKB_o 0x12
1.48 +#define DCKB_p 0x13
1.49 +#define DCKB_q 0x14
1.50 +#define DCKB_r 0x15
1.51 +#define DCKB_s 0x16
1.52 +#define DCKB_t 0x17
1.53 +#define DCKB_u 0x18
1.54 +#define DCKB_v 0x19
1.55 +#define DCKB_w 0x1A
1.56 +#define DCKB_x 0x1B
1.57 +#define DCKB_y 0x1C
1.58 +#define DCKB_z 0x1D
1.59 #define DCKB_1 0x1E
1.60 #define DCKB_2 0x1F
1.61 #define DCKB_3 0x20
1.62 @@ -58,23 +58,23 @@
1.63 #define DCKB_8 0x25
1.64 #define DCKB_9 0x26
1.65 #define DCKB_0 0x27
1.66 -#define DCKB_ENTER 0x28
1.67 -#define DCKB_ESCAPE 0x29
1.68 -#define DCKB_BACKSPACE 0x2A
1.69 -#define DCKB_TAB 0x2B
1.70 -#define DCKB_SPACE 0x2C
1.71 -#define DCKB_MINUS 0x2D
1.72 -#define DCKB_EQUAL 0x2E
1.73 -#define DCKB_LBRACKET 0x2F
1.74 -#define DCKB_RBRACKET 0x30
1.75 -#define DCKB_BACKSLASH 0x31
1.76 -#define DCKB_SEMICOLON 0x33
1.77 -#define DCKB_QUOTE 0x34
1.78 -#define DCKB_BACKQUOTE 0x35
1.79 -#define DCKB_COMMA 0x36
1.80 -#define DCKB_PERIOD 0x37
1.81 -#define DCKB_SLASH 0x38
1.82 -#define DCKB_CAPSLOCK 0x39
1.83 +#define DCKB_Return 0x28
1.84 +#define DCKB_Escape 0x29
1.85 +#define DCKB_BackSpace 0x2A
1.86 +#define DCKB_Tab 0x2B
1.87 +#define DCKB_space 0x2C
1.88 +#define DCKB_minus 0x2D
1.89 +#define DCKB_equal 0x2E
1.90 +#define DCKB_bracketleft 0x2F
1.91 +#define DCKB_bracketright 0x30
1.92 +#define DCKB_backslash 0x31
1.93 +#define DCKB_semicolon 0x33
1.94 +#define DCKB_apostrophe 0x34
1.95 +#define DCKB_grave 0x35
1.96 +#define DCKB_comma 0x36
1.97 +#define DCKB_period 0x37
1.98 +#define DCKB_slash 0x38
1.99 +#define DCKB_Caps_Lock 0x39
1.100 #define DCKB_F1 0x3A
1.101 #define DCKB_F2 0x3B
1.102 #define DCKB_F3 0x3C
1.103 @@ -87,47 +87,47 @@
1.104 #define DCKB_F10 0x43
1.105 #define DCKB_F11 0x44
1.106 #define DCKB_F12 0x45
1.107 -#define DCKB_PRINTSCR 0x46
1.108 -#define DCKB_SCROLLLOCK 0x47
1.109 -#define DCKB_PAUSE 0x48
1.110 -#define DCKB_INSERT 0x49
1.111 -#define DCKB_HOME 0x4A
1.112 -#define DCKB_PAGEUP 0x4B
1.113 -#define DCKB_DELETE 0x4C
1.114 -#define DCKB_END 0x4D
1.115 -#define DCKB_PAGEDOWN 0x4E
1.116 -#define DCKB_RIGHT 0x4F
1.117 -#define DCKB_LEFT 0x50
1.118 -#define DCKB_DOWN 0x51
1.119 -#define DCKB_UP 0x52
1.120 -#define DCKB_NUMLOCK 0x53
1.121 -#define DCKB_KP_SLASH 0x54
1.122 -#define DCKB_KP_STAR 0x55
1.123 -#define DCKB_KP_MINUS 0x56
1.124 -#define DCKB_KP_PLUS 0x57
1.125 -#define DCKB_KP_ENTER 0x58
1.126 -#define DCKB_KP_1 0x59
1.127 -#define DCKB_KP_2 0x5A
1.128 -#define DCKB_KP_3 0x5B
1.129 -#define DCKB_KP_4 0x5C
1.130 -#define DCKB_KP_5 0x5D
1.131 -#define DCKB_KP_6 0x5E
1.132 -#define DCKB_KP_7 0x5F
1.133 -#define DCKB_KP_8 0x60
1.134 -#define DCKB_KP_9 0x61
1.135 -#define DCKB_KP_0 0x62
1.136 -#define DCKB_KP_PERIOD 0x63
1.137 +#define DCKB_Print_Screen 0x46
1.138 +#define DCKB_Scroll_Lock 0x47
1.139 +#define DCKB_Pause 0x48
1.140 +#define DCKB_Insert 0x49
1.141 +#define DCKB_Home 0x4A
1.142 +#define DCKB_Page_Up 0x4B
1.143 +#define DCKB_Delete 0x4C
1.144 +#define DCKB_End 0x4D
1.145 +#define DCKB_Page_Down 0x4E
1.146 +#define DCKB_Right 0x4F
1.147 +#define DCKB_Left 0x50
1.148 +#define DCKB_Down 0x51
1.149 +#define DCKB_Up 0x52
1.150 +#define DCKB_Num_Lock 0x53
1.151 +#define DCKB_KP_Divide 0x54
1.152 +#define DCKB_KP_Multiply 0x55
1.153 +#define DCKB_KP_Subtract 0x56
1.154 +#define DCKB_KP_Add 0x57
1.155 +#define DCKB_KP_Enter 0x58
1.156 +#define DCKB_KP_End 0x59
1.157 +#define DCKB_KP_Down 0x5A
1.158 +#define DCKB_KP_Page_Down 0x5B
1.159 +#define DCKB_KP_Left 0x5C
1.160 +#define DCKB_KP_Begin 0x5D
1.161 +#define DCKB_KP_Right 0x5E
1.162 +#define DCKB_KP_Home 0x5F
1.163 +#define DCKB_KP_Up 0x60
1.164 +#define DCKB_KP_Page_Up 0x61
1.165 +#define DCKB_KP_Insert 0x62
1.166 +#define DCKB_KP_Delete 0x63
1.167 #define DCKB_S3 0x65
1.168
1.169 /* Modifier keys */
1.170
1.171 -#define DCKB_CONTROL_L 0xFF01
1.172 -#define DCKB_SHIFT_L 0xFF02
1.173 -#define DCKB_ALT_L 0xFF04
1.174 -#define DCKB_S1 0xFF08
1.175 -#define DCKB_CONTROL_R 0xFF10
1.176 -#define DCKB_SHIFT_R 0xFF20
1.177 -#define DCKB_ALT_R 0xFF40
1.178 -#define DCKB_S2 0xFF80
1.179 +#define DCKB_Control_L 0xFF01
1.180 +#define DCKB_Shift_L 0xFF02
1.181 +#define DCKB_Alt_L 0xFF04
1.182 +#define DCKB_Meta_L 0xFF08 /* S1 */
1.183 +#define DCKB_Control_R 0xFF10
1.184 +#define DCKB_Shift_R 0xFF20
1.185 +#define DCKB_Alt_R 0xFF40
1.186 +#define DCKB_Meta_R 0xFF80 /* S2 */
1.187
1.188 #endif /* !lxdream_dckeysyms_H */
.