Skip to content

Commit 843ea86

Browse files
committed
fix repeating cursor keys
1 parent 1a06169 commit 843ea86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

supervisor/shared/usb/host_keyboard.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ STATIC void process_event(uint8_t dev_addr, uint8_t instance, const hid_keyboard
246246
if (mapper->flags & FLAG_STRING) {
247247
const char *msg = skip_nuls(mapper->data, keycode - mapper->first);
248248
send_bufz(msg);
249+
break;
249250
} else if (mapper->data) {
250251
code = mapper->data[keycode - mapper->first];
251252
} else {

0 commit comments

Comments
 (0)