GP2X updates

video stuff moved out as it's project specific..
This commit is contained in:
notaz 2013-08-23 02:58:06 +03:00
parent c54d04fd84
commit 7ceadd9993
12 changed files with 313 additions and 806 deletions

View file

@ -60,7 +60,8 @@ 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].code == 0)
if (defbinds[i].bit == 0 && defbinds[i].btype == 0
&& defbinds[i].bit == 0)
break;
binds[IN_BIND_OFFS(defbinds[i].code, defbinds[i].btype)] =
1 << defbinds[i].bit;