filename | src/dckeysyms.h |
changeset | 611:0c5f53a87501 |
prev | 608:4f588e52bce0 |
next | 681:1755a126b109 |
author | nkeynes |
date | Mon May 12 10:00:13 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Cleanup most of the -Wall warnings (getting a bit sloppy...) Convert FP code to use fixed banks rather than indirect pointer (3-4% faster this way now) |
view | annotate | diff | log | raw |
1 /**
2 * $Id$
3 *
4 * Keysym definitions for the dreamcast keyboard.
5 *
6 * Copyright (c) 2005 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #ifndef lxdream_dckeysyms_H
20 #define lxdream_dckeysyms_H 1
23 #define DCKB_NONE 0x00
24 #define DCKB_ERROR 0x01
25 #define DCKB_A 0x04
26 #define DCKB_B 0x05
27 #define DCKB_C 0x06
28 #define DCKB_D 0x07
29 #define DCKB_E 0x08
30 #define DCKB_F 0x09
31 #define DCKB_G 0x0A
32 #define DCKB_H 0x0B
33 #define DCKB_I 0x0C
34 #define DCKB_J 0x0D
35 #define DCKB_K 0x0E
36 #define DCKB_L 0x0F
37 #define DCKB_M 0x10
38 #define DCKB_N 0x11
39 #define DCKB_O 0x12
40 #define DCKB_P 0x13
41 #define DCKB_Q 0x14
42 #define DCKB_R 0x15
43 #define DCKB_S 0x16
44 #define DCKB_T 0x17
45 #define DCKB_U 0x18
46 #define DCKB_V 0x19
47 #define DCKB_W 0x1A
48 #define DCKB_X 0x1B
49 #define DCKB_Y 0x1C
50 #define DCKB_Z 0x1D
51 #define DCKB_1 0x1E
52 #define DCKB_2 0x1F
53 #define DCKB_3 0x20
54 #define DCKB_4 0x21
55 #define DCKB_5 0x22
56 #define DCKB_6 0x23
57 #define DCKB_7 0x24
58 #define DCKB_8 0x25
59 #define DCKB_9 0x26
60 #define DCKB_0 0x27
61 #define DCKB_ENTER 0x28
62 #define DCKB_ESCAPE 0x29
63 #define DCKB_BACKSPACE 0x2A
64 #define DCKB_TAB 0x2B
65 #define DCKB_SPACE 0x2C
66 #define DCKB_MINUS 0x2D
67 #define DCKB_EQUAL 0x2E
68 #define DCKB_LBRACKET 0x2F
69 #define DCKB_RBRACKET 0x30
70 #define DCKB_BACKSLASH 0x31
71 #define DCKB_SEMICOLON 0x33
72 #define DCKB_QUOTE 0x34
73 #define DCKB_BACKQUOTE 0x35
74 #define DCKB_COMMA 0x36
75 #define DCKB_PERIOD 0x37
76 #define DCKB_SLASH 0x38
77 #define DCKB_CAPSLOCK 0x39
78 #define DCKB_F1 0x3A
79 #define DCKB_F2 0x3B
80 #define DCKB_F3 0x3C
81 #define DCKB_F4 0x3D
82 #define DCKB_F5 0x3E
83 #define DCKB_F6 0x3F
84 #define DCKB_F7 0x40
85 #define DCKB_F8 0x41
86 #define DCKB_F9 0x42
87 #define DCKB_F10 0x43
88 #define DCKB_F11 0x44
89 #define DCKB_F12 0x45
90 #define DCKB_PRINTSCR 0x46
91 #define DCKB_SCROLLLOCK 0x47
92 #define DCKB_PAUSE 0x48
93 #define DCKB_INSERT 0x49
94 #define DCKB_HOME 0x4A
95 #define DCKB_PAGEUP 0x4B
96 #define DCKB_DELETE 0x4C
97 #define DCKB_END 0x4D
98 #define DCKB_PAGEDOWN 0x4E
99 #define DCKB_RIGHT 0x4F
100 #define DCKB_LEFT 0x50
101 #define DCKB_DOWN 0x51
102 #define DCKB_UP 0x52
103 #define DCKB_NUMLOCK 0x53
104 #define DCKB_KP_SLASH 0x54
105 #define DCKB_KP_STAR 0x55
106 #define DCKB_KP_MINUS 0x56
107 #define DCKB_KP_PLUS 0x57
108 #define DCKB_KP_ENTER 0x58
109 #define DCKB_KP_1 0x59
110 #define DCKB_KP_2 0x5A
111 #define DCKB_KP_3 0x5B
112 #define DCKB_KP_4 0x5C
113 #define DCKB_KP_5 0x5D
114 #define DCKB_KP_6 0x5E
115 #define DCKB_KP_7 0x5F
116 #define DCKB_KP_8 0x60
117 #define DCKB_KP_9 0x61
118 #define DCKB_KP_0 0x62
119 #define DCKB_KP_PERIOD 0x63
120 #define DCKB_S3 0x65
122 /* Modifier keys */
124 #define DCKB_CONTROL_L 0xFF01
125 #define DCKB_SHIFT_L 0xFF02
126 #define DCKB_ALT_L 0xFF04
127 #define DCKB_S1 0xFF08
128 #define DCKB_CONTROL_R 0xFF10
129 #define DCKB_SHIFT_R 0xFF20
130 #define DCKB_ALT_R 0xFF40
131 #define DCKB_S2 0xFF80
133 #endif /* !lxdream_dckeysyms_H */
.