mirror of
https://github.com/FunKey-Project/picofe-irixxxx.git
synced 2026-02-20 00:01:24 +01:00
Allow one key to have multiple actions
This commit is contained in:
parent
d685ce4625
commit
87dc66a025
2
input.c
2
input.c
@ -63,7 +63,7 @@ static int *in_alloc_binds(int drv_id, int key_count)
|
||||
if (defbinds[i].bit == 0 && defbinds[i].btype == 0
|
||||
&& defbinds[i].bit == 0)
|
||||
break;
|
||||
binds[IN_BIND_OFFS(defbinds[i].code, defbinds[i].btype)] =
|
||||
binds[IN_BIND_OFFS(defbinds[i].code, defbinds[i].btype)] |=
|
||||
1 << defbinds[i].bit;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user