Skip to content

Commit 6a7ebaf

Browse files
Update host_keyboard.c
1 parent 3cc04f8 commit 6a7ebaf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

supervisor/shared/usb/host_keyboard.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ struct keycode_mapper {
7878
#define CURSOR_INS "\e[2~"
7979
#define CURSOR_DEL "\e[3~"
8080

81+
//https://learn.microsoft.com/ru-ru/windows/console/console-virtual-terminal-sequences
8182
// https://aperiodic.net/phil/archives/Geekery/term-function-keys/
8283
#define F1 "\eOP"
8384
#define F2 "\eOQ"
@@ -97,8 +98,6 @@ struct keycode_mapper {
9798
#define CTRL_RIGHT "\e[1;5C"
9899
#define CTRL_LEFT "\e[1;5D"
99100

100-
101-
102101
STATIC struct keycode_mapper keycode_to_ascii[] = {
103102
{ HID_KEY_A, HID_KEY_Z, 'a', 0, NULL},
104103

0 commit comments

Comments
 (0)