diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-01-22 05:10:11 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-01-22 05:10:11 -0500 |
| commit | 1da3d9e8aa36d620cffab1861409f49b7e18cf94 (patch) | |
| tree | 8dd3d07d75535d359beaa02ef4890804ceb9acd7 /keyboard.c | |
| parent | d04f7e07d4a5278e8e8530925e2852b591d6e37b (diff) | |
| download | suggpicker-1da3d9e8aa36d620cffab1861409f49b7e18cf94.tar.gz | |
kbd: don't send time
Diffstat (limited to 'keyboard.c')
| -rw-r--r-- | keyboard.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboard.c b/keyboard.c index 1cc50da..5de8d6b 100644 --- a/keyboard.c +++ b/keyboard.c @@ -65,7 +65,7 @@ kbd_get_key(struct kbd *kb, uint32_t x, uint32_t y) { } void -kbd_unpress_key(struct kbd *kb, uint32_t time) { +kbd_unpress_key(struct kbd *kb) { if (kb->last_press) { kbd_draw_key(kb, kb->last_press, Unpress); kb->last_press = NULL; @@ -73,8 +73,8 @@ kbd_unpress_key(struct kbd *kb, uint32_t time) { } void -kbd_release_key(struct kbd *kb, uint32_t time) { - kbd_unpress_key(kb, time); +kbd_release_key(struct kbd *kb) { + kbd_unpress_key(kb); printf("\n"); // Important so autocompleted words get typed in time fflush(stdout); @@ -82,12 +82,12 @@ kbd_release_key(struct kbd *kb, uint32_t time) { } void -kbd_motion_key(struct kbd *kb, uint32_t time, uint32_t x, uint32_t y) { +kbd_motion_key(struct kbd *kb, uint32_t x, uint32_t y) { } void -kbd_press_key(struct kbd *kb, struct key *k, uint32_t time) { +kbd_press_key(struct kbd *kb, struct key *k) { if (k->label) { kb->last_press = k; kbd_draw_key(kb, k, Press); |
