mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 15:04:19 +00:00
BadUSB backspace/delete fix (#2288)
Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
parent
20621da8ac
commit
ad9d746a27
2 changed files with 5 additions and 2 deletions
|
@ -71,8 +71,8 @@ static const DuckyKey ducky_keys[] = {
|
||||||
{"BREAK", HID_KEYBOARD_PAUSE},
|
{"BREAK", HID_KEYBOARD_PAUSE},
|
||||||
{"PAUSE", HID_KEYBOARD_PAUSE},
|
{"PAUSE", HID_KEYBOARD_PAUSE},
|
||||||
{"CAPSLOCK", HID_KEYBOARD_CAPS_LOCK},
|
{"CAPSLOCK", HID_KEYBOARD_CAPS_LOCK},
|
||||||
{"DELETE", HID_KEYBOARD_DELETE},
|
{"DELETE", HID_KEYBOARD_DELETE_FORWARD},
|
||||||
{"BACKSPACE", HID_KEYPAD_BACKSPACE},
|
{"BACKSPACE", HID_KEYBOARD_DELETE},
|
||||||
{"END", HID_KEYBOARD_END},
|
{"END", HID_KEYBOARD_END},
|
||||||
{"ESC", HID_KEYBOARD_ESCAPE},
|
{"ESC", HID_KEYBOARD_ESCAPE},
|
||||||
{"ESCAPE", HID_KEYBOARD_ESCAPE},
|
{"ESCAPE", HID_KEYBOARD_ESCAPE},
|
||||||
|
|
|
@ -14,9 +14,12 @@ static const char* uart_ch[] = {"13,14", "15,16"};
|
||||||
static const char* flow_pins[] = {"None", "2,3", "6,7", "16,15"};
|
static const char* flow_pins[] = {"None", "2,3", "6,7", "16,15"};
|
||||||
static const char* baudrate_mode[] = {"Host"};
|
static const char* baudrate_mode[] = {"Host"};
|
||||||
static const uint32_t baudrate_list[] = {
|
static const uint32_t baudrate_list[] = {
|
||||||
|
1200,
|
||||||
2400,
|
2400,
|
||||||
|
4800,
|
||||||
9600,
|
9600,
|
||||||
19200,
|
19200,
|
||||||
|
28800,
|
||||||
38400,
|
38400,
|
||||||
57600,
|
57600,
|
||||||
115200,
|
115200,
|
||||||
|
|
Loading…
Reference in a new issue