notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572cf80
)
platform, move keyboard menu keys for L,R to BS,TAB
author
kub
<derkub@gmail.com>
Tue, 7 Feb 2023 23:19:23 +0000
(23:19 +0000)
committer
kub
<derkub@gmail.com>
Tue, 7 Feb 2023 23:19:23 +0000
(23:19 +0000)
they should not be on printable chars for correct handling in directory
listings, and BS+TAB should be the same on all(?) international keyboards.
platform/common/inputmap_kbd.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/common/inputmap_kbd.c
b/platform/common/inputmap_kbd.c
index
bf09903
..
e34fd9d
100644
(file)
--- a/
platform/common/inputmap_kbd.c
+++ b/
platform/common/inputmap_kbd.c
@@
-42,8
+42,8
@@
const struct menu_keymap in_sdl_key_map[] = {
{ SDLK_ESCAPE, PBTN_MBACK },
{ SDLK_COMMA, PBTN_MA2 },
{ SDLK_PERIOD, PBTN_MA3 },
- { SDLK_
o, PBTN_L
},
- { SDLK_
p, PBTN_R
},
+ { SDLK_
TAB, PBTN_R
},
+ { SDLK_
BACKSPACE, PBTN_L
},
};
const int in_sdl_key_map_sz = sizeof(in_sdl_key_map) / sizeof(in_sdl_key_map[0]);