mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-03-13 02:42:47 +01:00
cleanup
This commit is contained in:
parent
447f655db3
commit
58e52575b6
@ -174,9 +174,9 @@ kbd_unpress_key(struct kbd *kb, uint32_t time) {
|
||||
create_and_upload_keymap(kb->layout->keymap_name, 0, 0);
|
||||
}
|
||||
kb->layout = kb->prevlayout;
|
||||
if (kb->mods & Shift == Shift) kb->mods ^= Shift;
|
||||
if ((kb->mods & Shift) == Shift) kb->mods ^= Shift;
|
||||
kbd_draw_layout(kb);
|
||||
} else if (kb->mods & Shift == Shift) {
|
||||
} else if ((kb->mods & Shift) == Shift) {
|
||||
kb->mods ^= Shift;
|
||||
kbd_draw_layout(kb);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user