fix repeating cursor keys
This commit is contained in:
parent
1a06169e18
commit
843ea86978
@ -246,6 +246,7 @@ STATIC void process_event(uint8_t dev_addr, uint8_t instance, const hid_keyboard
|
|||||||
if (mapper->flags & FLAG_STRING) {
|
if (mapper->flags & FLAG_STRING) {
|
||||||
const char *msg = skip_nuls(mapper->data, keycode - mapper->first);
|
const char *msg = skip_nuls(mapper->data, keycode - mapper->first);
|
||||||
send_bufz(msg);
|
send_bufz(msg);
|
||||||
|
break;
|
||||||
} else if (mapper->data) {
|
} else if (mapper->data) {
|
||||||
code = mapper->data[keycode - mapper->first];
|
code = mapper->data[keycode - mapper->first];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user