Allow one key to have multiple actions

This commit is contained in:
Paul Cercueil 2013-09-26 09:56:25 -03:00
parent d685ce4625
commit 87dc66a025

View file

@ -63,7 +63,7 @@ static int *in_alloc_binds(int drv_id, int key_count)
if (defbinds[i].bit == 0 && defbinds[i].btype == 0 if (defbinds[i].bit == 0 && defbinds[i].btype == 0
&& defbinds[i].bit == 0) && defbinds[i].bit == 0)
break; 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; 1 << defbinds[i].bit;
} }