Skip to content

Commit ae7e917

Browse files
Update host_keyboard.c
1 parent 6a7ebaf commit ae7e917

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

supervisor/shared/usb/host_keyboard.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +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
81+
// https://learn.microsoft.com/ru-ru/windows/console/console-virtual-terminal-sequences
8282
// https://aperiodic.net/phil/archives/Geekery/term-function-keys/
8383
#define F1 "\eOP"
8484
#define F2 "\eOQ"
@@ -138,7 +138,6 @@ STATIC struct keycode_mapper keycode_to_ascii[] = {
138138
{ HID_KEY_F11, HID_KEY_F11, 0, FLAG_STRING, F11 },
139139
{ HID_KEY_F12, HID_KEY_F12, 0, FLAG_STRING, F12 },
140140
{ HID_KEY_PRINT_SCREEN, HID_KEY_PRINT_SCREEN, 0, FLAG_STRING, PRINT_SCREEN },
141-
142141

143142
{ HID_KEY_ARROW_UP, HID_KEY_ARROW_UP, 0 , FLAG_STRING+FLAG_CTRL,CTRL_UP },
144143
{ HID_KEY_ARROW_DOWN, HID_KEY_ARROW_DOWN, 0 , FLAG_STRING+FLAG_CTRL, CTRL_DOWN },
@@ -149,8 +148,6 @@ STATIC struct keycode_mapper keycode_to_ascii[] = {
149148
{ HID_KEY_ARROW_LEFT, HID_KEY_ARROW_LEFT, 0 , FLAG_STRING, CURSOR_LEFT },
150149
{ HID_KEY_ARROW_RIGHT, HID_KEY_ARROW_RIGHT, 0 , FLAG_STRING, CURSOR_RIGHT},
151150

152-
153-
154151
};
155152

156153
STATIC bool report_contains(const hid_keyboard_report_t *report, uint8_t key) {

0 commit comments

Comments
 (0)