blob: 2791ea8a7d0069360b6501a46fc6918755bb9df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#pragma once
extern volatile uint8_t ubox_keys[0xff];
void ubox_keyb_init();
void ubox_keyb_free();
#define UBOX_KEY_ESC 1
#define UBOX_KEY_TAB 15
#define UBOX_KEY_ENTER 28
#define UBOX_KEY_SPACE 57
#define UBOX_KEY_A 30
#define UBOX_KEY_S 31
#define UBOX_KEY_Z 44
#define UBOX_KEY_X 45
#define UBOX_KEY_P 25
#define UBOX_KEY_UP 72
#define UBOX_KEY_LEFT 75
#define UBOX_KEY_RIGHT 77
#define UBOX_KEY_DOWN 80
#define UBOX_KEY_F1 59
#define UBOX_KEY_F2 60
#define UBOX_KEY_F3 61
#define UBOX_KEY_F4 62
#define UBOX_KEY_F5 63
#define UBOX_KEY_F6 64
#define UBOX_KEY_F7 65
#define UBOX_KEY_F8 66
#define UBOX_KEY_F9 67
#define UBOX_KEY_F10 68
#define UBOX_KEY_F11 87
#define UBOX_KEY_F12 88
|