Исправление табуляции

This commit is contained in:
giezz 2023-06-23 15:08:26 +03:00
parent b8370ddc0a
commit d816a23138

View File

@ -37,10 +37,10 @@ void get_logical_keys(struct key *undc_keys) {
undc_keys[i].logical = undc_keys[i].physical; undc_keys[i].logical = undc_keys[i].physical;
set_key_event(&undc_keys[i]); set_key_event(&undc_keys[i]);
} }
} else { } else {
undc_keys[i].time = timestamp; undc_keys[i].time = timestamp;
}
} }
}
} }
void fill_buttons_names(struct key *buttons) { void fill_buttons_names(struct key *buttons) {
@ -55,7 +55,7 @@ void fill_buttons_names(struct key *buttons) {
static void set_key_event(struct key *button) { static void set_key_event(struct key *button) {
if (button->logical == true) { if (button->logical == true) {
button->on_down = true; button->on_down = true;
} else { } else {
button->on_up = true; button->on_up = true;
} }
} }