Arduino Libraries
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
device
hid_keys.hpp
Go to the documentation of this file.
1
// Author: Mario S. Könz <mskoenz@gmx.net>
2
// Date: 09.08.2013 10:14:01 CEST
3
// File: hid_keys.hpp
4
5
/* This program is free software. It comes without any warranty, to
6
* the extent permitted by applicable law. You can redistribute it
7
* and/or modify it under the terms of the Do What The Fuck You Want
8
* To Public License, Version 2, as published by Sam Hocevar. See
9
* http://www.wtfpl.net/ or COPYING for more details. */
10
11
#ifndef __HID_KEYS_HEADER
12
#define __HID_KEYS_HEADER
13
14
enum class
key
: uint8_t {
15
none
= 0
16
,
ctrl
= 1
17
,
shift
= 2
18
,
alt
= 4
19
,
gui
= 8
20
,
ctrl_right
= 16
21
,
shift_right
= 32
22
,
alt_right
= 64
23
,
gui_right
= 128
24
25
,
a
= 4
26
,
b
= 5
27
,
c
= 6
28
,
d
= 7
29
,
e
= 8
30
,
f
= 9
31
,
g
= 10
32
,
h
= 11
33
,
i
= 12
34
,
j
= 13
35
,
k
= 14
36
,
l
= 15
37
,
m
= 16
38
,
n
= 17
39
,
o
= 18
40
,
p
= 19
41
,
q
= 20
42
,
r
= 21
43
,
s
= 22
44
,
t
= 23
45
,
u
= 24
46
,
v
= 25
47
,
w
= 26
48
,
x
= 27
49
,
y
= 28
50
,
z
= 29
51
52
,
k1
= 30
53
,
k2
= 31
54
,
k3
= 32
55
,
k4
= 33
56
,
k5
= 34
57
,
k6
= 35
58
,
k7
= 36
59
,
k8
= 37
60
,
k9
= 38
61
,
k0
= 39
62
63
,
enter
= 40
64
,
escape
= 41
65
,
backspace
= 42
66
,
tab
= 43
67
,
space
= 44
68
,
minus
= 45
69
,
circumflex
= 46
70
,
ue
= 47
71
,
diaresis
= 48
72
,
dollar
= 49
73
74
,
oe
= 51
75
,
ae
= 52
76
,
section
= 53
77
,
comma
= 54
78
,
dot
= 55
79
80
,
caps_lock
= 57
81
,
F1
= 58
82
,
F2
= 59
83
,
F3
= 60
84
,
F4
= 61
85
,
F5
= 62
86
,
F6
= 63
87
,
F7
= 64
88
,
F8
= 65
89
,
F9
= 66
90
,
F10
= 67
91
,
F11
= 68
92
,
F12
= 69
93
,
prt_scr
= 70
94
,
scr_lock
= 71
95
,
pause
= 72
96
,
insert
= 73
97
,
home
= 74
98
,
page_up
= 75
99
,
del
= 76
100
,
end
= 77
101
,
page_down
= 78
102
,
right
= 79
103
,
left
= 80
104
,
down
= 81
105
,
up
= 82
106
,
num_lock
= 83
107
108
,
pad_div
= 84
109
,
pad_mult
= 85
110
,
pad_minus
= 86
111
,
pad_plus
= 87
112
,
pad_enter
= 88
113
,
pad_1
= 89
114
,
pad_2
= 90
115
,
pad_3
= 91
116
,
pad_4
= 92
117
,
pad_5
= 93
118
,
pad_6
= 94
119
,
pad_7
= 95
120
,
pad_8
= 96
121
,
pad_9
= 97
122
,
pad_0
= 98
123
,
pad_dot
= 99
124
,
angle
= 100
125
126
,
power
= 102
127
,
pad_equal
= 103
128
129
,
F13
= 104
130
,
F14
= 105
131
,
F15
= 106
132
,
F16
= 107
133
,
F17
= 108
134
,
F18
= 109
135
,
F19
= 110
136
,
F20
= 111
137
,
F21
= 112
138
,
F22
= 113
139
,
F23
= 114
140
,
F24
= 115
141
142
,
mute
= 127
143
,
volume_up
= 128
144
,
volume_down
= 129
145
};
146
147
#endif //__HID_KEYS_HEADER
key::home
key::n
key::F6
key::pad_4
key::k3
key::gui
key::pad_plus
key::insert
key::F22
key::down
key::l
key::y
key::w
key::c
key::k2
key::F5
key::k6
key::del
key::f
key::pause
key::k7
key::section
key::x
key::pad_minus
key::F1
key::shift
key::pad_2
key::s
key::u
key::enter
key::i
key::F20
key::volume_down
key::pad_8
key::F19
key::F15
key::a
key::caps_lock
key::minus
key::ue
key::pad_1
key::pad_9
key::F23
key::F18
key::v
key::k5
key::m
key::left
key::page_down
key::r
key::b
key::j
key::F13
key::pad_mult
key::F4
key::F24
key::pad_dot
key::tab
key::dot
key::pad_6
key::pad_3
key::page_up
key::k4
key::pad_0
key::diaresis
key::ae
key::k0
key::pad_7
key::g
key::h
key::up
key::space
key::k
key::shift_right
key::alt
key::F14
key::z
key::pad_5
key::F9
key::F11
key::F7
key::end
key::alt_right
key::q
key::d
key::t
key::none
key::F21
key::F16
key::e
key::F2
key::F3
key::backspace
key::ctrl_right
key::pad_div
key::k8
key
key
Definition:
hid_keys.hpp:14
key::circumflex
key::F12
key::oe
key::angle
key::F10
key::F17
key::escape
key::o
key::dollar
key::scr_lock
key::pad_equal
key::mute
key::comma
key::gui_right
key::power
key::k1
key::k9
key::prt_scr
key::ctrl
key::volume_up
key::F8
key::num_lock
key::right
key::pad_enter
key::p
Generated on Wed Oct 8 2014 19:44:55 for Arduino Libraries by
1.8.6