notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d685ce4
)
Allow one key to have multiple actions
author
Paul Cercueil
<paul@crapouillou.net>
Thu, 26 Sep 2013 12:56:25 +0000
(09:56 -0300)
committer
Paul Cercueil
<paul@crapouillou.net>
Mon, 7 Oct 2013 18:42:08 +0000
(20:42 +0200)
input.c
patch
|
blob
|
blame
|
history
diff --git
a/input.c
b/input.c
index
ca9dac2
..
2c34a79
100644
(file)
--- 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;
}