mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 11:29:26 +00:00
revert via.c
This commit is contained in:
parent
4edc91618b
commit
168cabeaf1
@ -374,9 +374,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case id_dynamic_keymap_set_keycode: {
|
case id_dynamic_keymap_set_keycode: {
|
||||||
uint16_t keycode = dynamic_keymap_get_keycode(command_data[0], command_data[1], command_data[2]);
|
|
||||||
dynamic_keymap_set_keycode(command_data[0], command_data[1], command_data[2], (command_data[3] << 8) | command_data[4]);
|
dynamic_keymap_set_keycode(command_data[0], command_data[1], command_data[2], (command_data[3] << 8) | command_data[4]);
|
||||||
unregister_code(keycode);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case id_dynamic_keymap_reset: {
|
case id_dynamic_keymap_reset: {
|
||||||
|
Loading…
Reference in New Issue
Block a user