diff options
author | Oxore <oxore@protonmail.com> | 2024-01-01 13:56:42 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2024-01-01 13:56:42 +0300 |
commit | 3fbd1f3645416f6be73fbef4c993067d51c5ec8e (patch) | |
tree | bb1952f1ca58ab8ce5514f22125fce6d6e9f4fc2 /main.c | |
parent | 6474e88847f9adf627b91fb56778fd9a9b775d66 (diff) |
Fix backspace
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ static void setup_output_device(int fd) * created, to pass key events, in this case the space key. */ ioctl(fd, UI_SET_EVBIT, EV_KEY); - for (ssize_t i = 1; i < MAPPINGS_NUM; i++) { + for (ssize_t i = 0; i < MAPPINGS_NUM; i++) { if (-1 == ioctl(fd, UI_SET_KEYBIT, g_mapping[i].code)) { fprintf( stderr, |