Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Input event types. | |
#define | INPUT_EV_KEY 0x01 |
Key event. | |
#define | INPUT_EV_REL 0x02 |
Relative coordinate event. | |
#define | INPUT_EV_ABS 0x03 |
Absolute coordinate event. | |
#define | INPUT_EV_MSC 0x04 |
Miscellaneous event. | |
#define | INPUT_EV_VENDOR_START 0xf0 |
Vendor specific event start. | |
#define | INPUT_EV_VENDOR_STOP 0xff |
Vendor specific event stop. | |
Input event KEY codes. | |
#define | INPUT_KEY_RESERVED 0 |
Reserved, do not use. | |
#define | INPUT_KEY_0 11 |
0 Key | |
#define | INPUT_KEY_1 2 |
1 Key | |
#define | INPUT_KEY_2 3 |
2 Key | |
#define | INPUT_KEY_3 4 |
3 Key | |
#define | INPUT_KEY_4 5 |
4 Key | |
#define | INPUT_KEY_5 6 |
5 Key | |
#define | INPUT_KEY_6 7 |
6 Key | |
#define | INPUT_KEY_7 8 |
7 Key | |
#define | INPUT_KEY_8 9 |
8 Key | |
#define | INPUT_KEY_9 10 |
9 Key | |
#define | INPUT_KEY_A 30 |
A Key. | |
#define | INPUT_KEY_APOSTROPHE 40 |
Apostrophe Key. | |
#define | INPUT_KEY_B 48 |
B Key. | |
#define | INPUT_KEY_BACK 158 |
Back Key. | |
#define | INPUT_KEY_BACKSLASH 43 |
Backslash Key. | |
#define | INPUT_KEY_BACKSPACE 14 |
Backspace Key. | |
#define | INPUT_KEY_BLUETOOTH 237 |
Bluetooth Key. | |
#define | INPUT_KEY_BRIGHTNESSDOWN 224 |
Brightness Up Key. | |
#define | INPUT_KEY_BRIGHTNESSUP 225 |
Brightneess Down Key. | |
#define | INPUT_KEY_C 46 |
C Key. | |
#define | INPUT_KEY_CAPSLOCK 58 |
Caps Lock Key. | |
#define | INPUT_KEY_COFFEE 152 |
Screen Saver Key. | |
#define | INPUT_KEY_COMMA 51 |
Comma Key. | |
#define | INPUT_KEY_COMPOSE 127 |
Compose Key. | |
#define | INPUT_KEY_CONNECT 218 |
Connect Key. | |
#define | INPUT_KEY_D 32 |
D Key. | |
#define | INPUT_KEY_DELETE 111 |
Delete Key. | |
#define | INPUT_KEY_DOT 52 |
Dot Key. | |
#define | INPUT_KEY_DOWN 108 |
Down Key. | |
#define | INPUT_KEY_E 18 |
E Key. | |
#define | INPUT_KEY_END 107 |
End Key. | |
#define | INPUT_KEY_ENTER 28 |
Enter Key. | |
#define | INPUT_KEY_EQUAL 13 |
Equal Key. | |
#define | INPUT_KEY_ESC 1 |
Escape Key. | |
#define | INPUT_KEY_F 33 |
F Key. | |
#define | INPUT_KEY_F1 59 |
F1 Key. | |
#define | INPUT_KEY_F10 68 |
F10 Key. | |
#define | INPUT_KEY_F11 87 |
F11 Key. | |
#define | INPUT_KEY_F12 88 |
F12 Key. | |
#define | INPUT_KEY_F13 183 |
F13 Key. | |
#define | INPUT_KEY_F14 184 |
F14 Key. | |
#define | INPUT_KEY_F15 185 |
F15 Key. | |
#define | INPUT_KEY_F16 186 |
F16 Key. | |
#define | INPUT_KEY_F17 187 |
F17 Key. | |
#define | INPUT_KEY_F18 188 |
F18 Key. | |
#define | INPUT_KEY_F19 189 |
F19 Key. | |
#define | INPUT_KEY_F2 60 |
F2 Key. | |
#define | INPUT_KEY_F20 190 |
F20 Key. | |
#define | INPUT_KEY_F21 191 |
F21 Key. | |
#define | INPUT_KEY_F22 192 |
F22 Key. | |
#define | INPUT_KEY_F23 193 |
F23 Key. | |
#define | INPUT_KEY_F24 194 |
F24 Key. | |
#define | INPUT_KEY_F3 61 |
F3 Key. | |
#define | INPUT_KEY_F4 62 |
F4 Key. | |
#define | INPUT_KEY_F5 63 |
F5 Key. | |
#define | INPUT_KEY_F6 64 |
F6 Key. | |
#define | INPUT_KEY_F7 65 |
F7 Key. | |
#define | INPUT_KEY_F8 66 |
F8 Key. | |
#define | INPUT_KEY_F9 67 |
F9 Key. | |
#define | INPUT_KEY_FASTFORWARD 208 |
Fast Forward Key. | |
#define | INPUT_KEY_FORWARD 159 |
Forward Key. | |
#define | INPUT_KEY_G 34 |
G Key. | |
#define | INPUT_KEY_GRAVE 41 |
Grave (backtick) Key. | |
#define | INPUT_KEY_H 35 |
H Key. | |
#define | INPUT_KEY_HOME 102 |
Home Key. | |
#define | INPUT_KEY_I 23 |
I Key. | |
#define | INPUT_KEY_INSERT 110 |
Insert Key. | |
#define | INPUT_KEY_J 36 |
J Key. | |
#define | INPUT_KEY_K 37 |
K Key. | |
#define | INPUT_KEY_KP0 82 |
Keypad 0 Key. | |
#define | INPUT_KEY_KP1 79 |
Keypad 1 Key. | |
#define | INPUT_KEY_KP2 80 |
Keypad 2 Key. | |
#define | INPUT_KEY_KP3 81 |
Keypad 3 Key. | |
#define | INPUT_KEY_KP4 75 |
Keypad 4 Key. | |
#define | INPUT_KEY_KP5 76 |
Keypad 5 Key. | |
#define | INPUT_KEY_KP6 77 |
Keypad 6 Key. | |
#define | INPUT_KEY_KP7 71 |
Keypad 7 Key. | |
#define | INPUT_KEY_KP8 72 |
Keypad 8 Key. | |
#define | INPUT_KEY_KP9 73 |
Keypad 9 Key. | |
#define | INPUT_KEY_KPASTERISK 55 |
Keypad Asterisk Key. | |
#define | INPUT_KEY_KPCOMMA 121 |
Keypad Comma Key. | |
#define | INPUT_KEY_KPDOT 83 |
Keypad Dot Key. | |
#define | INPUT_KEY_KPENTER 96 |
Keypad Enter Key. | |
#define | INPUT_KEY_KPEQUAL 117 |
Keypad Equal Key. | |
#define | INPUT_KEY_KPMINUS 74 |
Keypad Minus Key. | |
#define | INPUT_KEY_KPPLUS 78 |
Keypad Plus Key. | |
#define | INPUT_KEY_KPPLUSMINUS 118 |
Keypad Plus Key. | |
#define | INPUT_KEY_KPSLASH 98 |
Keypad Slash Key. | |
#define | INPUT_KEY_L 38 |
L Key. | |
#define | INPUT_KEY_LEFT 105 |
Left Key. | |
#define | INPUT_KEY_LEFTALT 56 |
Left Alt Key. | |
#define | INPUT_KEY_LEFTBRACE 26 |
Left Brace Key. | |
#define | INPUT_KEY_LEFTCTRL 29 |
Left Ctrl Key. | |
#define | INPUT_KEY_LEFTMETA 125 |
Left Meta Key. | |
#define | INPUT_KEY_LEFTSHIFT 42 |
Left Shift Key. | |
#define | INPUT_KEY_M 50 |
M Key. | |
#define | INPUT_KEY_MENU 139 |
Menu Key. | |
#define | INPUT_KEY_MINUS 12 |
Minus Key. | |
#define | INPUT_KEY_MUTE 113 |
Mute Key. | |
#define | INPUT_KEY_N 49 |
N Key. | |
#define | INPUT_KEY_NUMLOCK 69 |
Num Lock Key. | |
#define | INPUT_KEY_O 24 |
O Key. | |
#define | INPUT_KEY_P 25 |
P Key. | |
#define | INPUT_KEY_PAGEDOWN 109 |
Page Down Key. | |
#define | INPUT_KEY_PAGEUP 104 |
Page UpKey. | |
#define | INPUT_KEY_PAUSE 119 |
Pause Key. | |
#define | INPUT_KEY_PLAY 207 |
Play Key. | |
#define | INPUT_KEY_POWER 116 |
Power Key. | |
#define | INPUT_KEY_PRINT 210 |
Print Key. | |
#define | INPUT_KEY_Q 16 |
Q Key. | |
#define | INPUT_KEY_R 19 |
R Key. | |
#define | INPUT_KEY_RIGHT 106 |
Right Key. | |
#define | INPUT_KEY_RIGHTALT 100 |
Right Alt Key. | |
#define | INPUT_KEY_RIGHTBRACE 27 |
Right Brace Key. | |
#define | INPUT_KEY_RIGHTCTRL 97 |
Right Ctrl Key. | |
#define | INPUT_KEY_RIGHTMETA 126 |
Right Meta Key. | |
#define | INPUT_KEY_RIGHTSHIFT 54 |
Right Shift Key. | |
#define | INPUT_KEY_S 31 |
S Key. | |
#define | INPUT_KEY_SCALE 120 |
Scale Key. | |
#define | INPUT_KEY_SCROLLLOCK 70 |
Scroll Lock Key. | |
#define | INPUT_KEY_SEMICOLON 39 |
Semicolon Key. | |
#define | INPUT_KEY_SLASH 53 |
Slash Key. | |
#define | INPUT_KEY_SLEEP 142 |
System Sleep Key. | |
#define | INPUT_KEY_SPACE 57 |
Space Key. | |
#define | INPUT_KEY_SYSRQ 99 |
SysReq Key. | |
#define | INPUT_KEY_T 20 |
T Key. | |
#define | INPUT_KEY_TAB 15 |
Tab Key. | |
#define | INPUT_KEY_U 22 |
U Key. | |
#define | INPUT_KEY_UP 103 |
Up Key. | |
#define | INPUT_KEY_UWB 239 |
Ultra-Wideband Key. | |
#define | INPUT_KEY_V 47 |
V Key. | |
#define | INPUT_KEY_VOLUMEDOWN 114 |
Volume Down Key. | |
#define | INPUT_KEY_VOLUMEUP 115 |
Volume Up Key. | |
#define | INPUT_KEY_W 17 |
W Key. | |
#define | INPUT_KEY_WAKEUP 143 |
System Wake Up Key. | |
#define | INPUT_KEY_WLAN 238 |
Wireless LAN Key. | |
#define | INPUT_KEY_X 45 |
X Key. | |
#define | INPUT_KEY_Y 21 |
Y Key. | |
#define | INPUT_KEY_Z 44 |
Z Key. | |
Input event BTN codes. | |
#define | INPUT_BTN_0 0x100 |
0 button | |
#define | INPUT_BTN_1 0x101 |
1 button | |
#define | INPUT_BTN_2 0x102 |
2 button | |
#define | INPUT_BTN_3 0x103 |
3 button | |
#define | INPUT_BTN_4 0x104 |
4 button | |
#define | INPUT_BTN_5 0x105 |
5 button | |
#define | INPUT_BTN_6 0x106 |
6 button | |
#define | INPUT_BTN_7 0x107 |
7 button | |
#define | INPUT_BTN_8 0x108 |
8 button | |
#define | INPUT_BTN_9 0x109 |
9 button | |
#define | INPUT_BTN_A BTN_SOUTH |
A button. | |
#define | INPUT_BTN_B BTN_EAST |
B button. | |
#define | INPUT_BTN_BACK 0x116 |
Back button. | |
#define | INPUT_BTN_C 0x132 |
C button. | |
#define | INPUT_BTN_DPAD_DOWN 0x221 |
Directional pad Down. | |
#define | INPUT_BTN_DPAD_LEFT 0x222 |
Directional pad Left. | |
#define | INPUT_BTN_DPAD_RIGHT 0x223 |
Directional pad Right. | |
#define | INPUT_BTN_DPAD_UP 0x220 |
Directional pad Up. | |
#define | INPUT_BTN_EAST 0x131 |
East button. | |
#define | INPUT_BTN_EXTRA 0x114 |
Extra button. | |
#define | INPUT_BTN_FORWARD 0x115 |
Forward button. | |
#define | INPUT_BTN_GEAR_DOWN 0x150 |
Gear Up button. | |
#define | INPUT_BTN_GEAR_UP 0x151 |
Gear Down button. | |
#define | INPUT_BTN_LEFT 0x110 |
Left button. | |
#define | INPUT_BTN_MIDDLE 0x112 |
Middle button. | |
#define | INPUT_BTN_MODE 0x13c |
Mode button. | |
#define | INPUT_BTN_NORTH 0x133 |
North button. | |
#define | INPUT_BTN_RIGHT 0x111 |
Right button. | |
#define | INPUT_BTN_SELECT 0x13a |
Select button. | |
#define | INPUT_BTN_SIDE 0x113 |
Side button. | |
#define | INPUT_BTN_SOUTH 0x130 |
South button. | |
#define | INPUT_BTN_START 0x13b |
Start button. | |
#define | INPUT_BTN_TASK 0x117 |
Task button. | |
#define | INPUT_BTN_THUMBL 0x13d |
Left thumbstick button. | |
#define | INPUT_BTN_THUMBR 0x13e |
Right thumbstick button. | |
#define | INPUT_BTN_TL 0x136 |
Left trigger (L1) | |
#define | INPUT_BTN_TL2 0x138 |
Left trigger 2 (L2) | |
#define | INPUT_BTN_TOUCH 0x14a |
Touchscreen touch. | |
#define | INPUT_BTN_TR 0x137 |
Right trigger (R1) | |
#define | INPUT_BTN_TR2 0x139 |
Right trigger 2 (R2) | |
#define | INPUT_BTN_WEST 0x134 |
West button. | |
#define | INPUT_BTN_X BTN_NORTH |
X button. | |
#define | INPUT_BTN_Y BTN_WEST |
Y button. | |
#define | INPUT_BTN_Z 0x135 |
Z button. | |
Input event ABS codes. | |
#define | INPUT_ABS_BRAKE 0x0a |
Absolute brake position. | |
#define | INPUT_ABS_GAS 0x09 |
Absolute gas position. | |
#define | INPUT_ABS_MT_SLOT 0x2f |
Absolute multitouch slot identifier. | |
#define | INPUT_ABS_RUDDER 0x07 |
Absolute rudder position. | |
#define | INPUT_ABS_RX 0x03 |
Absolute rotation around X axis. | |
#define | INPUT_ABS_RY 0x04 |
Absolute rotation around Y axis. | |
#define | INPUT_ABS_RZ 0x05 |
Absolute rotation around Z axis. | |
#define | INPUT_ABS_THROTTLE 0x06 |
Absolute throttle position. | |
#define | INPUT_ABS_WHEEL 0x08 |
Absolute wheel position. | |
#define | INPUT_ABS_X 0x00 |
Absolute X coordinate. | |
#define | INPUT_ABS_Y 0x01 |
Absolute Y coordinate. | |
#define | INPUT_ABS_Z 0x02 |
Absolute Z coordinate. | |
Input event REL codes. | |
#define | INPUT_REL_DIAL 0x07 |
Relative dial coordinate. | |
#define | INPUT_REL_HWHEEL 0x06 |
Relative horizontal wheel coordinate. | |
#define | INPUT_REL_MISC 0x09 |
Relative misc coordinate. | |
#define | INPUT_REL_RX 0x03 |
Relative rotation around X axis. | |
#define | INPUT_REL_RY 0x04 |
Relative rotation around Y axis. | |
#define | INPUT_REL_RZ 0x05 |
Relative rotation around Z axis. | |
#define | INPUT_REL_WHEEL 0x08 |
Relative wheel coordinate. | |
#define | INPUT_REL_X 0x00 |
Relative X coordinate. | |
#define | INPUT_REL_Y 0x01 |
Relative Y coordinate. | |
#define | INPUT_REL_Z 0x02 |
Relative Z coordinate. | |
Input event MSC codes. | |
#define | INPUT_MSC_SCAN 0x04 |
Scan code. | |
#define INPUT_ABS_BRAKE 0x0a |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute brake position.
#define INPUT_ABS_GAS 0x09 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute gas position.
#define INPUT_ABS_MT_SLOT 0x2f |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute multitouch slot identifier.
#define INPUT_ABS_RUDDER 0x07 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute rudder position.
#define INPUT_ABS_RX 0x03 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute rotation around X axis.
#define INPUT_ABS_RY 0x04 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute rotation around Y axis.
#define INPUT_ABS_RZ 0x05 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute rotation around Z axis.
#define INPUT_ABS_THROTTLE 0x06 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute throttle position.
#define INPUT_ABS_WHEEL 0x08 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute wheel position.
#define INPUT_ABS_X 0x00 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute X coordinate.
#define INPUT_ABS_Y 0x01 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute Y coordinate.
#define INPUT_ABS_Z 0x02 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute Z coordinate.
#define INPUT_BTN_0 0x100 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
0 button
#define INPUT_BTN_1 0x101 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
1 button
#define INPUT_BTN_2 0x102 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
2 button
#define INPUT_BTN_3 0x103 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
3 button
#define INPUT_BTN_4 0x104 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
4 button
#define INPUT_BTN_5 0x105 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
5 button
#define INPUT_BTN_6 0x106 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
6 button
#define INPUT_BTN_7 0x107 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
7 button
#define INPUT_BTN_8 0x108 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
8 button
#define INPUT_BTN_9 0x109 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
9 button
#define INPUT_BTN_A BTN_SOUTH |
#include <zephyr/dt-bindings/input/input-event-codes.h>
A button.
#define INPUT_BTN_B BTN_EAST |
#include <zephyr/dt-bindings/input/input-event-codes.h>
B button.
#define INPUT_BTN_BACK 0x116 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Back button.
#define INPUT_BTN_C 0x132 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
C button.
#define INPUT_BTN_DPAD_DOWN 0x221 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Directional pad Down.
#define INPUT_BTN_DPAD_LEFT 0x222 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Directional pad Left.
#define INPUT_BTN_DPAD_RIGHT 0x223 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Directional pad Right.
#define INPUT_BTN_DPAD_UP 0x220 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Directional pad Up.
#define INPUT_BTN_EAST 0x131 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
East button.
#define INPUT_BTN_EXTRA 0x114 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Extra button.
#define INPUT_BTN_FORWARD 0x115 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Forward button.
#define INPUT_BTN_GEAR_DOWN 0x150 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Gear Up button.
#define INPUT_BTN_GEAR_UP 0x151 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Gear Down button.
#define INPUT_BTN_LEFT 0x110 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left button.
#define INPUT_BTN_MIDDLE 0x112 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Middle button.
#define INPUT_BTN_MODE 0x13c |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Mode button.
#define INPUT_BTN_NORTH 0x133 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
North button.
#define INPUT_BTN_RIGHT 0x111 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right button.
#define INPUT_BTN_SELECT 0x13a |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Select button.
#define INPUT_BTN_SIDE 0x113 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Side button.
#define INPUT_BTN_SOUTH 0x130 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
South button.
#define INPUT_BTN_START 0x13b |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Start button.
#define INPUT_BTN_TASK 0x117 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Task button.
#define INPUT_BTN_THUMBL 0x13d |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left thumbstick button.
#define INPUT_BTN_THUMBR 0x13e |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right thumbstick button.
#define INPUT_BTN_TL 0x136 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left trigger (L1)
#define INPUT_BTN_TL2 0x138 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left trigger 2 (L2)
#define INPUT_BTN_TOUCH 0x14a |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Touchscreen touch.
#define INPUT_BTN_TR 0x137 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right trigger (R1)
#define INPUT_BTN_TR2 0x139 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right trigger 2 (R2)
#define INPUT_BTN_WEST 0x134 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
West button.
#define INPUT_BTN_X BTN_NORTH |
#include <zephyr/dt-bindings/input/input-event-codes.h>
X button.
#define INPUT_BTN_Y BTN_WEST |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Y button.
#define INPUT_BTN_Z 0x135 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Z button.
#define INPUT_EV_ABS 0x03 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Absolute coordinate event.
#define INPUT_EV_KEY 0x01 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Key event.
#define INPUT_EV_MSC 0x04 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Miscellaneous event.
#define INPUT_EV_REL 0x02 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative coordinate event.
#define INPUT_EV_VENDOR_START 0xf0 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Vendor specific event start.
#define INPUT_EV_VENDOR_STOP 0xff |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Vendor specific event stop.
#define INPUT_KEY_0 11 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
0 Key
#define INPUT_KEY_1 2 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
1 Key
#define INPUT_KEY_2 3 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
2 Key
#define INPUT_KEY_3 4 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
3 Key
#define INPUT_KEY_4 5 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
4 Key
#define INPUT_KEY_5 6 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
5 Key
#define INPUT_KEY_6 7 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
6 Key
#define INPUT_KEY_7 8 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
7 Key
#define INPUT_KEY_8 9 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
8 Key
#define INPUT_KEY_9 10 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
9 Key
#define INPUT_KEY_A 30 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
A Key.
#define INPUT_KEY_APOSTROPHE 40 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Apostrophe Key.
#define INPUT_KEY_B 48 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
B Key.
#define INPUT_KEY_BACK 158 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Back Key.
#define INPUT_KEY_BACKSLASH 43 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Backslash Key.
#define INPUT_KEY_BACKSPACE 14 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Backspace Key.
#define INPUT_KEY_BLUETOOTH 237 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Bluetooth Key.
#define INPUT_KEY_BRIGHTNESSDOWN 224 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Brightness Up Key.
#define INPUT_KEY_BRIGHTNESSUP 225 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Brightneess Down Key.
#define INPUT_KEY_C 46 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
C Key.
#define INPUT_KEY_CAPSLOCK 58 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Caps Lock Key.
#define INPUT_KEY_COFFEE 152 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Screen Saver Key.
#define INPUT_KEY_COMMA 51 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Comma Key.
#define INPUT_KEY_COMPOSE 127 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Compose Key.
#define INPUT_KEY_CONNECT 218 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Connect Key.
#define INPUT_KEY_D 32 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
D Key.
#define INPUT_KEY_DELETE 111 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Delete Key.
#define INPUT_KEY_DOT 52 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Dot Key.
#define INPUT_KEY_DOWN 108 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Down Key.
#define INPUT_KEY_E 18 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
E Key.
#define INPUT_KEY_END 107 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
End Key.
#define INPUT_KEY_ENTER 28 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Enter Key.
#define INPUT_KEY_EQUAL 13 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Equal Key.
#define INPUT_KEY_ESC 1 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Escape Key.
#define INPUT_KEY_F 33 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F Key.
#define INPUT_KEY_F1 59 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F1 Key.
#define INPUT_KEY_F10 68 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F10 Key.
#define INPUT_KEY_F11 87 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F11 Key.
#define INPUT_KEY_F12 88 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F12 Key.
#define INPUT_KEY_F13 183 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F13 Key.
#define INPUT_KEY_F14 184 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F14 Key.
#define INPUT_KEY_F15 185 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F15 Key.
#define INPUT_KEY_F16 186 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F16 Key.
#define INPUT_KEY_F17 187 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F17 Key.
#define INPUT_KEY_F18 188 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F18 Key.
#define INPUT_KEY_F19 189 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F19 Key.
#define INPUT_KEY_F2 60 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F2 Key.
#define INPUT_KEY_F20 190 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F20 Key.
#define INPUT_KEY_F21 191 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F21 Key.
#define INPUT_KEY_F22 192 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F22 Key.
#define INPUT_KEY_F23 193 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F23 Key.
#define INPUT_KEY_F24 194 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F24 Key.
#define INPUT_KEY_F3 61 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F3 Key.
#define INPUT_KEY_F4 62 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F4 Key.
#define INPUT_KEY_F5 63 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F5 Key.
#define INPUT_KEY_F6 64 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F6 Key.
#define INPUT_KEY_F7 65 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F7 Key.
#define INPUT_KEY_F8 66 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F8 Key.
#define INPUT_KEY_F9 67 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
F9 Key.
#define INPUT_KEY_FASTFORWARD 208 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Fast Forward Key.
#define INPUT_KEY_FORWARD 159 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Forward Key.
#define INPUT_KEY_G 34 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
G Key.
#define INPUT_KEY_GRAVE 41 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Grave (backtick) Key.
#define INPUT_KEY_H 35 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
H Key.
#define INPUT_KEY_HOME 102 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Home Key.
#define INPUT_KEY_I 23 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
I Key.
#define INPUT_KEY_INSERT 110 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Insert Key.
#define INPUT_KEY_J 36 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
J Key.
#define INPUT_KEY_K 37 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
K Key.
#define INPUT_KEY_KP0 82 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 0 Key.
#define INPUT_KEY_KP1 79 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 1 Key.
#define INPUT_KEY_KP2 80 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 2 Key.
#define INPUT_KEY_KP3 81 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 3 Key.
#define INPUT_KEY_KP4 75 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 4 Key.
#define INPUT_KEY_KP5 76 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 5 Key.
#define INPUT_KEY_KP6 77 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 6 Key.
#define INPUT_KEY_KP7 71 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 7 Key.
#define INPUT_KEY_KP8 72 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 8 Key.
#define INPUT_KEY_KP9 73 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad 9 Key.
#define INPUT_KEY_KPASTERISK 55 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Asterisk Key.
#define INPUT_KEY_KPCOMMA 121 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Comma Key.
#define INPUT_KEY_KPDOT 83 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Dot Key.
#define INPUT_KEY_KPENTER 96 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Enter Key.
#define INPUT_KEY_KPEQUAL 117 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Equal Key.
#define INPUT_KEY_KPMINUS 74 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Minus Key.
#define INPUT_KEY_KPPLUS 78 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Plus Key.
#define INPUT_KEY_KPPLUSMINUS 118 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Plus Key.
#define INPUT_KEY_KPSLASH 98 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Keypad Slash Key.
#define INPUT_KEY_L 38 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
L Key.
#define INPUT_KEY_LEFT 105 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Key.
#define INPUT_KEY_LEFTALT 56 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Alt Key.
#define INPUT_KEY_LEFTBRACE 26 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Brace Key.
#define INPUT_KEY_LEFTCTRL 29 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Ctrl Key.
#define INPUT_KEY_LEFTMETA 125 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Meta Key.
#define INPUT_KEY_LEFTSHIFT 42 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Left Shift Key.
#define INPUT_KEY_M 50 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
M Key.
#define INPUT_KEY_MENU 139 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Menu Key.
#define INPUT_KEY_MINUS 12 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Minus Key.
#define INPUT_KEY_MUTE 113 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Mute Key.
#define INPUT_KEY_N 49 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
N Key.
#define INPUT_KEY_NUMLOCK 69 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Num Lock Key.
#define INPUT_KEY_O 24 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
O Key.
#define INPUT_KEY_P 25 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
P Key.
#define INPUT_KEY_PAGEDOWN 109 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Page Down Key.
#define INPUT_KEY_PAGEUP 104 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Page UpKey.
#define INPUT_KEY_PAUSE 119 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Pause Key.
#define INPUT_KEY_PLAY 207 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Play Key.
#define INPUT_KEY_POWER 116 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Power Key.
#define INPUT_KEY_PRINT 210 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Print Key.
#define INPUT_KEY_Q 16 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Q Key.
#define INPUT_KEY_R 19 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
R Key.
#define INPUT_KEY_RESERVED 0 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Reserved, do not use.
#define INPUT_KEY_RIGHT 106 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Key.
#define INPUT_KEY_RIGHTALT 100 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Alt Key.
#define INPUT_KEY_RIGHTBRACE 27 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Brace Key.
#define INPUT_KEY_RIGHTCTRL 97 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Ctrl Key.
#define INPUT_KEY_RIGHTMETA 126 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Meta Key.
#define INPUT_KEY_RIGHTSHIFT 54 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Right Shift Key.
#define INPUT_KEY_S 31 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
S Key.
#define INPUT_KEY_SCALE 120 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Scale Key.
#define INPUT_KEY_SCROLLLOCK 70 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Scroll Lock Key.
#define INPUT_KEY_SEMICOLON 39 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Semicolon Key.
#define INPUT_KEY_SLASH 53 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Slash Key.
#define INPUT_KEY_SLEEP 142 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
System Sleep Key.
#define INPUT_KEY_SPACE 57 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Space Key.
#define INPUT_KEY_SYSRQ 99 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
SysReq Key.
#define INPUT_KEY_T 20 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
T Key.
#define INPUT_KEY_TAB 15 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Tab Key.
#define INPUT_KEY_U 22 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
U Key.
#define INPUT_KEY_UP 103 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Up Key.
#define INPUT_KEY_UWB 239 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Ultra-Wideband Key.
#define INPUT_KEY_V 47 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
V Key.
#define INPUT_KEY_VOLUMEDOWN 114 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Volume Down Key.
#define INPUT_KEY_VOLUMEUP 115 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Volume Up Key.
#define INPUT_KEY_W 17 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
W Key.
#define INPUT_KEY_WAKEUP 143 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
System Wake Up Key.
#define INPUT_KEY_WLAN 238 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Wireless LAN Key.
#define INPUT_KEY_X 45 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
X Key.
#define INPUT_KEY_Y 21 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Y Key.
#define INPUT_KEY_Z 44 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Z Key.
#define INPUT_MSC_SCAN 0x04 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Scan code.
#define INPUT_REL_DIAL 0x07 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative dial coordinate.
#define INPUT_REL_HWHEEL 0x06 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative horizontal wheel coordinate.
#define INPUT_REL_MISC 0x09 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative misc coordinate.
#define INPUT_REL_RX 0x03 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative rotation around X axis.
#define INPUT_REL_RY 0x04 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative rotation around Y axis.
#define INPUT_REL_RZ 0x05 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative rotation around Z axis.
#define INPUT_REL_WHEEL 0x08 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative wheel coordinate.
#define INPUT_REL_X 0x00 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative X coordinate.
#define INPUT_REL_Y 0x01 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative Y coordinate.
#define INPUT_REL_Z 0x02 |
#include <zephyr/dt-bindings/input/input-event-codes.h>
Relative Z coordinate.