HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UI_Keyboard.h
Go to the documentation of this file.
1
#ifndef __UI_Keyboard_h__
2
#define __UI_Keyboard_h__
3
4
#include "
UI_KeyBindings.h
"
5
6
enum
UI_Keyboard
:
int
7
{
8
UI_KEY_INVALID
= 0,
9
10
// Values of 0x00000001 through 0x0010FFFF represent unicode code points.
11
//
12
// We provide enumerators for a very small subset of these here. Which
13
// values in this range are actually used will depend on the keyboard
14
// layout. We generally use the upper-case code point for any code point
15
// that is considered lower-case.
16
//
17
// Some of the keys representing control characters have special values
18
// that differ from their unicode code point.
19
20
UI_KEY_A
= 0x41,
21
UI_KEY_B
= 0x42,
22
UI_KEY_C
= 0x43,
23
UI_KEY_D
= 0x44,
24
UI_KEY_E
= 0x45,
25
UI_KEY_F
= 0x46,
26
UI_KEY_G
= 0x47,
27
UI_KEY_H
= 0x48,
28
UI_KEY_I
= 0x49,
29
UI_KEY_J
= 0x4A,
30
UI_KEY_K
= 0x4B,
31
UI_KEY_L
= 0x4C,
32
UI_KEY_M
= 0x4D,
33
UI_KEY_N
= 0x4E,
34
UI_KEY_O
= 0x4F,
35
UI_KEY_P
= 0x50,
36
UI_KEY_Q
= 0x51,
37
UI_KEY_R
= 0x52,
38
UI_KEY_S
= 0x53,
39
UI_KEY_T
= 0x54,
40
UI_KEY_U
= 0x55,
41
UI_KEY_V
= 0x56,
42
UI_KEY_W
= 0x57,
43
UI_KEY_X
= 0x58,
44
UI_KEY_Y
= 0x59,
45
UI_KEY_Z
= 0x5A,
46
UI_KEY_ZERO
= 0x30,
47
UI_KEY_ONE
= 0x31,
48
UI_KEY_TWO
= 0x32,
49
UI_KEY_THREE
= 0x33,
50
UI_KEY_FOUR
= 0x34,
51
UI_KEY_FIVE
= 0x35,
52
UI_KEY_SIX
= 0x36,
53
UI_KEY_SEVEN
= 0x37,
54
UI_KEY_EIGHT
= 0x38,
55
UI_KEY_NINE
= 0x39,
56
57
UI_KEY_SEMICOLON
= 0x3B,
58
UI_KEY_PERIOD
= 0x2E,
59
UI_KEY_COMMA
= 0x2C,
60
UI_KEY_SLASH
= 0x2F,
61
UI_KEY_QUOTE
= 0x27,
62
UI_KEY_ACCENTGRAVE
= 0x60,
// really UI_KEY_LEFTQUOTE
63
UI_KEY_MINUS
= 0x2D,
64
UI_KEY_PLUS
= 0x2B,
65
UI_KEY_VIRGULE
= 0xB4,
// TODO: this is Qt::Key_acute, not a "virgule"?
66
UI_KEY_BACKSLASH
= 0x5C,
67
UI_KEY_EQUAL
= 0x3D,
68
UI_KEY_LEFTBRACKET
= 0x5B,
69
UI_KEY_RIGHTBRACKET
= 0x5D,
70
71
// Values for special keys not represented by a unicode code point start
72
// at 0x00110000. These must also be covered by the CHARACTER_BITS mask
73
// (0x001FFFFF).
74
75
UI_KEY_BREAK
= 0x00110000,
76
UI_KEY_SETUP
= 0x00110001,
77
UI_KEY_CAPSLOCK
= 0x00110002,
78
79
UI_KEY_LEFTALT
= 0x00110003,
80
UI_KEY_RIGHTALT
= 0x00110004,
81
UI_KEY_LEFTCTRL
= 0x00110005,
82
UI_KEY_RIGHTCTRL
= 0x00110006,
83
UI_KEY_RIGHTSHIFT
= 0x00110007,
84
UI_KEY_LEFTSHIFT
= 0x00110008,
85
UI_KEY_COMMAND
= 0x00110009,
/* OSX Only */
86
87
UI_KEY_ESC
= 0x0011000A,
88
UI_KEY_TAB
= 0x0011000B,
89
UI_KEY_ENTER
= 0x0011000C,
90
UI_KEY_SPACE
= 0x0011000D,
91
UI_KEY_LINEFEED
= 0x0011000E,
92
UI_KEY_BACKSPACE
= 0x0011000F,
93
94
UI_KEY_LEFTARROW
= 0x00110010,
95
UI_KEY_DOWNARROW
= 0x00110011,
96
UI_KEY_RIGHTARROW
= 0x00110012,
97
UI_KEY_UPARROW
= 0x00110013,
98
99
UI_KEY_F1
= 0x00110014,
100
UI_KEY_F2
= 0x00110015,
101
UI_KEY_F3
= 0x00110016,
102
UI_KEY_F4
= 0x00110017,
103
UI_KEY_F5
= 0x00110018,
104
UI_KEY_F6
= 0x00110019,
105
UI_KEY_F7
= 0x0011001A,
106
UI_KEY_F8
= 0x0011001B,
107
UI_KEY_F9
= 0x0011001C,
108
UI_KEY_F10
= 0x0011001D,
109
UI_KEY_F11
= 0x0011001E,
110
UI_KEY_F12
= 0x0011001F,
111
UI_KEY_F13
= 0x00110020,
112
UI_KEY_F14
= 0x00110021,
113
UI_KEY_F15
= 0x00110022,
114
UI_KEY_F16
= 0x00110023,
115
UI_KEY_F17
= 0x00110024,
116
UI_KEY_F18
= 0x00110025,
117
UI_KEY_F19
= 0x00110026,
118
UI_KEY_F20
= 0x00110027,
119
UI_KEY_F21
= 0x00110028,
120
UI_KEY_F22
= 0x00110029,
121
UI_KEY_F23
= 0x0011002A,
122
UI_KEY_F24
= 0x0011002B,
123
UI_KEY_F25
= 0x0011002C,
124
UI_KEY_F26
= 0x0011002D,
125
UI_KEY_F27
= 0x0011002E,
126
UI_KEY_F28
= 0x0011002F,
127
UI_KEY_F29
= 0x00110030,
128
UI_KEY_F30
= 0x00110031,
129
UI_KEY_F31
= 0x00110032,
130
UI_KEY_F32
= 0x00110033,
131
UI_KEY_F33
= 0x00110034,
132
UI_KEY_F34
= 0x00110035,
133
UI_KEY_F35
= 0x00110036,
134
135
UI_KEY_PRINTSCREEN
= 0x00110037,
136
UI_KEY_SCROLLLOCK
= 0x00110038,
137
UI_KEY_PAUSE
= 0x00110039,
138
139
UI_KEY_INSERT
= 0x0011003A,
140
UI_KEY_HOME
= 0x0011003B,
141
UI_KEY_PAGEUP
= 0x0011003C,
142
UI_KEY_DELETE
= 0x0011003D,
143
UI_KEY_END
= 0x0011003E,
144
UI_KEY_PAGEDOWN
= 0x0011003F,
145
UI_KEY_CLEAR
= 0x00110040,
146
147
UI_KEY_NUMLOCK
= 0x00110041,
148
UI_KEY_PAD0
= 0x00110042,
149
UI_KEY_PAD1
= 0x00110043,
150
UI_KEY_PAD2
= 0x00110044,
151
UI_KEY_PAD3
= 0x00110045,
152
UI_KEY_PAD4
= 0x00110046,
153
UI_KEY_PAD5
= 0x00110047,
154
UI_KEY_PAD6
= 0x00110048,
155
UI_KEY_PAD7
= 0x00110049,
156
UI_KEY_PAD8
= 0x0011004A,
157
UI_KEY_PAD9
= 0x0011004B,
158
UI_KEY_PADPERIOD
= 0x0011004C,
159
UI_KEY_PADMINUS
= 0x0011004D,
160
UI_KEY_PADVIRGULE
= 0x0011004E,
161
UI_KEY_PADASTER
= 0x0011004F,
162
UI_KEY_PADPLUS
= 0x00110050,
163
UI_KEY_PADSLASH
= 0x00110051,
164
};
165
166
// The following sentinel should only be used for validity checks, not for
167
// allocating fixed size arrays.
168
#define UI_KEY_MAX UI_KEY_PADSLASH
169
170
#endif
UI_KEY_ZERO
Definition:
UI_Keyboard.h:46
UI_KEY_INSERT
Definition:
UI_Keyboard.h:139
UI_KEY_SETUP
Definition:
UI_Keyboard.h:76
UI_KEY_PLUS
Definition:
UI_Keyboard.h:64
UI_KEY_F2
Definition:
UI_Keyboard.h:100
UI_KEY_RIGHTSHIFT
Definition:
UI_Keyboard.h:83
UI_KEY_SLASH
Definition:
UI_Keyboard.h:60
UI_KEY_PADSLASH
Definition:
UI_Keyboard.h:163
UI_KEY_A
Definition:
UI_Keyboard.h:20
UI_KEY_TWO
Definition:
UI_Keyboard.h:48
UI_KEY_F18
Definition:
UI_Keyboard.h:116
UI_KEY_D
Definition:
UI_Keyboard.h:23
UI_KEY_H
Definition:
UI_Keyboard.h:27
UI_KEY_E
Definition:
UI_Keyboard.h:24
UI_KEY_FIVE
Definition:
UI_Keyboard.h:51
UI_KEY_Z
Definition:
UI_Keyboard.h:45
UI_KEY_PAD7
Definition:
UI_Keyboard.h:155
UI_KEY_EIGHT
Definition:
UI_Keyboard.h:54
UI_KEY_O
Definition:
UI_Keyboard.h:34
UI_KEY_EQUAL
Definition:
UI_Keyboard.h:67
UI_KEY_F6
Definition:
UI_Keyboard.h:104
UI_KEY_PAD8
Definition:
UI_Keyboard.h:156
UI_KEY_F20
Definition:
UI_Keyboard.h:118
UI_KEY_PADPLUS
Definition:
UI_Keyboard.h:162
UI_KEY_SEMICOLON
Definition:
UI_Keyboard.h:57
UI_KEY_C
Definition:
UI_Keyboard.h:22
UI_KEY_F8
Definition:
UI_Keyboard.h:106
UI_KEY_PAD0
Definition:
UI_Keyboard.h:148
UI_KEY_F21
Definition:
UI_Keyboard.h:119
UI_KEY_QUOTE
Definition:
UI_Keyboard.h:61
UI_KEY_F33
Definition:
UI_Keyboard.h:131
UI_KEY_X
Definition:
UI_Keyboard.h:43
UI_KEY_ACCENTGRAVE
Definition:
UI_Keyboard.h:62
UI_KEY_F24
Definition:
UI_Keyboard.h:122
UI_KEY_F10
Definition:
UI_Keyboard.h:108
UI_KEY_ENTER
Definition:
UI_Keyboard.h:89
UI_KEY_LEFTARROW
Definition:
UI_Keyboard.h:94
UI_KEY_K
Definition:
UI_Keyboard.h:30
UI_KEY_F17
Definition:
UI_Keyboard.h:115
UI_KEY_NUMLOCK
Definition:
UI_Keyboard.h:147
UI_KEY_P
Definition:
UI_Keyboard.h:35
UI_KEY_F9
Definition:
UI_Keyboard.h:107
UI_KEY_J
Definition:
UI_Keyboard.h:29
UI_KEY_F32
Definition:
UI_Keyboard.h:130
UI_KeyBindings.h
UI_KEY_F28
Definition:
UI_Keyboard.h:126
UI_KEY_CLEAR
Definition:
UI_Keyboard.h:145
UI_KEY_BREAK
Definition:
UI_Keyboard.h:75
UI_KEY_W
Definition:
UI_Keyboard.h:42
UI_KEY_F30
Definition:
UI_Keyboard.h:128
UI_KEY_LEFTSHIFT
Definition:
UI_Keyboard.h:84
UI_KEY_THREE
Definition:
UI_Keyboard.h:49
UI_KEY_LEFTBRACKET
Definition:
UI_Keyboard.h:68
UI_KEY_PAUSE
Definition:
UI_Keyboard.h:137
UI_KEY_PADPERIOD
Definition:
UI_Keyboard.h:158
UI_KEY_F5
Definition:
UI_Keyboard.h:103
UI_KEY_BACKSPACE
Definition:
UI_Keyboard.h:92
UI_KEY_RIGHTCTRL
Definition:
UI_Keyboard.h:82
UI_KEY_TAB
Definition:
UI_Keyboard.h:88
UI_KEY_F34
Definition:
UI_Keyboard.h:132
UI_KEY_ONE
Definition:
UI_Keyboard.h:47
UI_KEY_PAD5
Definition:
UI_Keyboard.h:153
UI_KEY_F26
Definition:
UI_Keyboard.h:124
UI_KEY_B
Definition:
UI_Keyboard.h:21
UI_KEY_F19
Definition:
UI_Keyboard.h:117
UI_KEY_PAGEUP
Definition:
UI_Keyboard.h:141
UI_KEY_F13
Definition:
UI_Keyboard.h:111
UI_KEY_F3
Definition:
UI_Keyboard.h:101
UI_KEY_RIGHTALT
Definition:
UI_Keyboard.h:80
UI_KEY_SCROLLLOCK
Definition:
UI_Keyboard.h:136
UI_KEY_F
Definition:
UI_Keyboard.h:25
UI_KEY_U
Definition:
UI_Keyboard.h:40
UI_KEY_PRINTSCREEN
Definition:
UI_Keyboard.h:135
UI_KEY_F16
Definition:
UI_Keyboard.h:114
UI_KEY_T
Definition:
UI_Keyboard.h:39
UI_KEY_BACKSLASH
Definition:
UI_Keyboard.h:66
UI_KEY_M
Definition:
UI_Keyboard.h:32
UI_KEY_F7
Definition:
UI_Keyboard.h:105
UI_KEY_F27
Definition:
UI_Keyboard.h:125
UI_KEY_DELETE
Definition:
UI_Keyboard.h:142
UI_KEY_F15
Definition:
UI_Keyboard.h:113
UI_KEY_F14
Definition:
UI_Keyboard.h:112
UI_KEY_N
Definition:
UI_Keyboard.h:33
UI_KEY_END
Definition:
UI_Keyboard.h:143
UI_KEY_R
Definition:
UI_Keyboard.h:37
UI_KEY_ESC
Definition:
UI_Keyboard.h:87
UI_KEY_INVALID
Definition:
UI_Keyboard.h:8
UI_KEY_SIX
Definition:
UI_Keyboard.h:52
UI_KEY_V
Definition:
UI_Keyboard.h:41
UI_KEY_I
Definition:
UI_Keyboard.h:28
UI_KEY_COMMAND
Definition:
UI_Keyboard.h:85
UI_KEY_F11
Definition:
UI_Keyboard.h:109
UI_KEY_Q
Definition:
UI_Keyboard.h:36
UI_KEY_CAPSLOCK
Definition:
UI_Keyboard.h:77
UI_KEY_F23
Definition:
UI_Keyboard.h:121
UI_KEY_RIGHTBRACKET
Definition:
UI_Keyboard.h:69
UI_KEY_F31
Definition:
UI_Keyboard.h:129
UI_KEY_LEFTALT
Definition:
UI_Keyboard.h:79
UI_KEY_L
Definition:
UI_Keyboard.h:31
UI_KEY_F35
Definition:
UI_Keyboard.h:133
UI_KEY_HOME
Definition:
UI_Keyboard.h:140
UI_KEY_COMMA
Definition:
UI_Keyboard.h:59
UI_KEY_NINE
Definition:
UI_Keyboard.h:55
UI_KEY_F4
Definition:
UI_Keyboard.h:102
UI_KEY_F25
Definition:
UI_Keyboard.h:123
UI_KEY_PADVIRGULE
Definition:
UI_Keyboard.h:160
UI_KEY_FOUR
Definition:
UI_Keyboard.h:50
UI_KEY_LINEFEED
Definition:
UI_Keyboard.h:91
UI_KEY_DOWNARROW
Definition:
UI_Keyboard.h:95
UI_KEY_S
Definition:
UI_Keyboard.h:38
UI_KEY_F12
Definition:
UI_Keyboard.h:110
UI_KEY_PAD6
Definition:
UI_Keyboard.h:154
UI_KEY_Y
Definition:
UI_Keyboard.h:44
UI_KEY_PADASTER
Definition:
UI_Keyboard.h:161
UI_KEY_MINUS
Definition:
UI_Keyboard.h:63
UI_KEY_PAD4
Definition:
UI_Keyboard.h:152
UI_Keyboard
UI_Keyboard
Definition:
UI_Keyboard.h:6
UI_KEY_PERIOD
Definition:
UI_Keyboard.h:58
UI_KEY_PAD2
Definition:
UI_Keyboard.h:150
UI_KEY_RIGHTARROW
Definition:
UI_Keyboard.h:96
UI_KEY_VIRGULE
Definition:
UI_Keyboard.h:65
UI_KEY_G
Definition:
UI_Keyboard.h:26
UI_KEY_LEFTCTRL
Definition:
UI_Keyboard.h:81
UI_KEY_PADMINUS
Definition:
UI_Keyboard.h:159
UI_KEY_SPACE
Definition:
UI_Keyboard.h:90
UI_KEY_PAD9
Definition:
UI_Keyboard.h:157
UI_KEY_PAD1
Definition:
UI_Keyboard.h:149
UI_KEY_SEVEN
Definition:
UI_Keyboard.h:53
UI_KEY_F29
Definition:
UI_Keyboard.h:127
UI_KEY_UPARROW
Definition:
UI_Keyboard.h:97
UI_KEY_PAGEDOWN
Definition:
UI_Keyboard.h:144
UI_KEY_F22
Definition:
UI_Keyboard.h:120
UI_KEY_F1
Definition:
UI_Keyboard.h:99
UI_KEY_PAD3
Definition:
UI_Keyboard.h:151
UI
UI_Keyboard.h
Generated on Fri Nov 22 2024 02:43:55 for HDK by
1.8.6