format code according to conventions [skip ci]
This commit is contained in:
parent
9e8767917d
commit
5e98eaaaff
5 changed files with 107 additions and 108 deletions
|
@ -758,8 +758,8 @@ void register_code(uint8_t code) {
|
|||
// without this, keys with the same keycode, but different
|
||||
// modifiers will be reported incorrectly, see issue #1708
|
||||
if (is_key_pressed(keyboard_report, code)) {
|
||||
del_key(code);
|
||||
send_keyboard_report();
|
||||
del_key(code);
|
||||
send_keyboard_report();
|
||||
}
|
||||
add_key(code);
|
||||
send_keyboard_report();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue