X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=input.c;h=2c34a7974fe69378edc2d32ee124271c929594aa;hb=62e581e179cc311c345ae95a351551fca40b0619;hp=ca9dac29ce3ef4af9bc8aee39dfb1c7addc61ff9;hpb=d685ce4625e9f3b25b0852d31960cb429da06a9d;p=libpicofe.git diff --git a/input.c b/input.c index ca9dac2..2c34a79 100644 --- a/input.c +++ b/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; }