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:
74bd704
)
platform sdl, improved menu keymap for international keyboards
author
kub
<derkub@gmail.com>
Tue, 22 Feb 2022 22:26:32 +0000
(22:26 +0000)
committer
kub
<derkub@gmail.com>
Tue, 22 Feb 2022 22:26:40 +0000
(22:26 +0000)
platform/common/inputmap_kbd.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/common/inputmap_kbd.c
b/platform/common/inputmap_kbd.c
index
d1f8f03
..
bf09903
100644
(file)
--- a/
platform/common/inputmap_kbd.c
+++ b/
platform/common/inputmap_kbd.c
@@
-40,10
+40,10
@@
const struct menu_keymap in_sdl_key_map[] = {
{ SDLK_RIGHT, PBTN_RIGHT },
{ SDLK_RETURN, PBTN_MOK },
{ SDLK_ESCAPE, PBTN_MBACK },
- { SDLK_
SEMICOLON,
PBTN_MA2 },
- { SDLK_
QUOTE,
PBTN_MA3 },
- { SDLK_
LEFTBRACKET,
PBTN_L },
- { SDLK_
RIGHTBRACKET,
PBTN_R },
+ { SDLK_
COMMA,
PBTN_MA2 },
+ { SDLK_
PERIOD,
PBTN_MA3 },
+ { SDLK_
o,
PBTN_L },
+ { SDLK_
p,
PBTN_R },
};
const int in_sdl_key_map_sz = sizeof(in_sdl_key_map) / sizeof(in_sdl_key_map[0]);