Update host_keyboard.c

This commit is contained in:
iyalosovetsky 2024-01-17 03:33:41 +02:00 committed by GitHub
parent 3cc04f81f9
commit 6a7ebaf6a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,6 +78,7 @@ struct keycode_mapper {
#define CURSOR_INS "\e[2~"
#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/
#define F1 "\eOP"
#define F2 "\eOQ"
@ -97,8 +98,6 @@ struct keycode_mapper {
#define CTRL_RIGHT "\e[1;5C"
#define CTRL_LEFT "\e[1;5D"
STATIC struct keycode_mapper keycode_to_ascii[] = {
{ HID_KEY_A, HID_KEY_Z, 'a', 0, NULL},