mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
input: bugfix in defbind check
This commit is contained in:
parent
0415ebf191
commit
21604a0479
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
@ -63,7 +63,7 @@ static int *in_alloc_binds(int drv_id, int key_count)
|
|||
defbinds = DRV(drv_id).defbinds;
|
||||
if (defbinds != NULL) {
|
||||
for (i = 0; ; i++) {
|
||||
if (defbinds[i].bit == 0 && defbinds[i].btype == 0
|
||||
if (defbinds[i].code == 0 && defbinds[i].btype == 0
|
||||
&& defbinds[i].bit == 0)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue