mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
final fixes for UIQ3
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@573 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
61f66fe0ab
commit
8611d1242e
1 changed files with 2 additions and 1 deletions
|
@ -729,7 +729,8 @@ static void keys_parse(const char *var, const char *val, int binds[32],
|
|||
return;
|
||||
}
|
||||
|
||||
if (binds == currentConfig.KeyBinds && !(keys_encountered & (1<<t))) { // hack
|
||||
// unbind old, but only when key is first encountered
|
||||
if (t < 32 && binds == currentConfig.KeyBinds && !(keys_encountered & (1<<t))) {
|
||||
binds[t] = 0;
|
||||
keys_encountered |= 1<<t;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue