fix repeating cursor keys

This commit is contained in:
Jeff Epler 2023-07-10 13:49:28 -05:00
parent 1a06169e18
commit 843ea86978
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -246,6 +246,7 @@ STATIC void process_event(uint8_t dev_addr, uint8_t instance, const hid_keyboard
if (mapper->flags & FLAG_STRING) {
const char *msg = skip_nuls(mapper->data, keycode - mapper->first);
send_bufz(msg);
break;
} else if (mapper->data) {
code = mapper->data[keycode - mapper->first];
} else {