Update host_keyboard.c
This commit is contained in:
parent
3cc04f81f9
commit
6a7ebaf6a1
1 changed files with 1 additions and 2 deletions
|
|
@ -78,6 +78,7 @@ struct keycode_mapper {
|
||||||
#define CURSOR_INS "\e[2~"
|
#define CURSOR_INS "\e[2~"
|
||||||
#define CURSOR_DEL "\e[3~"
|
#define CURSOR_DEL "\e[3~"
|
||||||
|
|
||||||
|
//https://learn.microsoft.com/ru-ru/windows/console/console-virtual-terminal-sequences
|
||||||
// https://aperiodic.net/phil/archives/Geekery/term-function-keys/
|
// https://aperiodic.net/phil/archives/Geekery/term-function-keys/
|
||||||
#define F1 "\eOP"
|
#define F1 "\eOP"
|
||||||
#define F2 "\eOQ"
|
#define F2 "\eOQ"
|
||||||
|
|
@ -97,8 +98,6 @@ struct keycode_mapper {
|
||||||
#define CTRL_RIGHT "\e[1;5C"
|
#define CTRL_RIGHT "\e[1;5C"
|
||||||
#define CTRL_LEFT "\e[1;5D"
|
#define CTRL_LEFT "\e[1;5D"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
STATIC struct keycode_mapper keycode_to_ascii[] = {
|
STATIC struct keycode_mapper keycode_to_ascii[] = {
|
||||||
{ HID_KEY_A, HID_KEY_Z, 'a', 0, NULL},
|
{ HID_KEY_A, HID_KEY_Z, 'a', 0, NULL},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue