From d816a231383c7dfc6282523da8542e91724c8aca Mon Sep 17 00:00:00 2001 From: giezz Date: Fri, 23 Jun 2023 15:08:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B0=D0=B1=D1=83=D0=BB=D1=8F?= =?UTF-8?q?=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboard.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboard.c b/keyboard.c index 3cc2e8b..1cc5d4a 100644 --- a/keyboard.c +++ b/keyboard.c @@ -37,10 +37,10 @@ void get_logical_keys(struct key *undc_keys) { undc_keys[i].logical = undc_keys[i].physical; set_key_event(&undc_keys[i]); } - } else { - undc_keys[i].time = timestamp; - } + } else { + undc_keys[i].time = timestamp; } + } } void fill_buttons_names(struct key *buttons) { @@ -55,8 +55,8 @@ void fill_buttons_names(struct key *buttons) { static void set_key_event(struct key *button) { if (button->logical == true) { button->on_down = true; - } else { - button->on_up = true; + } else { + button->on_up = true; } }