mirror of
https://github.com/clockworkpi/PicoCalc.git
synced 2025-12-12 10:18:54 +01:00
45 lines
889 B
C
45 lines
889 B
C
//
|
|
// Created by guu on 2025/4/11.
|
|
//
|
|
|
|
#ifndef PICOCALC_KBD_TESTER_KEYBOARD_DEFINE_H
|
|
#define PICOCALC_KBD_TESTER_KEYBOARD_DEFINE_H
|
|
|
|
|
|
#define KEY_BACKSPACE 0x08
|
|
#define KEY_TAB 0x09
|
|
#define KEY_ENTER 0x0A
|
|
// 0x0D - CARRIAGE RETURN
|
|
|
|
#define KEY_MOD_ALT 0xA1
|
|
#define KEY_MOD_SHL 0xA2
|
|
#define KEY_MOD_SHR 0xA3
|
|
#define KEY_MOD_SYM 0xA4
|
|
#define KEY_MOD_CTRL 0xA5
|
|
|
|
#define KEY_ESC 0xB1
|
|
#define KEY_UP 0xb5
|
|
#define KEY_DOWN 0xb6
|
|
#define KEY_LEFT 0xb4
|
|
#define KEY_RIGHT 0xb7
|
|
|
|
#define KEY_BREAK 0xd0 // == KEY_PAUSE
|
|
#define KEY_INSERT 0xD1
|
|
#define KEY_HOME 0xD2
|
|
#define KEY_DEL 0xD4
|
|
|
|
|
|
#define KEY_CAPS_LOCK 0xC1
|
|
|
|
#define KEY_F1 0x81
|
|
#define KEY_F2 0x82
|
|
#define KEY_F3 0x83
|
|
#define KEY_F4 0x84
|
|
#define KEY_F5 0x85
|
|
|
|
#define KEY_NONE 0 //
|
|
|
|
#define KEYBOARD_OK_CNT 67
|
|
|
|
#endif //PICOCALC_KBD_TESTER_KEYBOARD_DEFINE_H
|