notaz.gp2x.de
/
gpsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r6 release
[gpsp.git]
/
input.c
diff --git
a/input.c
b/input.c
index
cfaff69
..
94c561d
100644
(file)
--- a/
input.c
+++ b/
input.c
@@
-364,10
+364,10
@@
u32 gamepad_config_map[16] =
BUTTON_ID_SELECT, // Select
BUTTON_ID_L, // Ltrigger
BUTTON_ID_R, // Rtrigger
BUTTON_ID_SELECT, // Select
BUTTON_ID_L, // Ltrigger
BUTTON_ID_R, // Rtrigger
- BUTTON_ID_
NONE,
// A
+ BUTTON_ID_
FPS,
// A
BUTTON_ID_A, // B
BUTTON_ID_B, // X
BUTTON_ID_A, // B
BUTTON_ID_B, // X
- BUTTON_ID_
NONE
, // Y
+ BUTTON_ID_
MENU
, // Y
BUTTON_ID_VOLDOWN, // Vol down
BUTTON_ID_VOLUP, // Vol up
BUTTON_ID_FPS, // Push
BUTTON_ID_VOLDOWN, // Vol down
BUTTON_ID_VOLUP, // Vol up
BUTTON_ID_FPS, // Push
@@
-412,6
+412,12
@@
gui_action_type get_gui_input()
if(new_buttons & GP2X_RIGHT)
new_button = CURSOR_RIGHT;
if(new_buttons & GP2X_RIGHT)
new_button = CURSOR_RIGHT;
+ if(new_buttons & GP2X_L)
+ new_button = CURSOR_L;
+
+ if(new_buttons & GP2X_R)
+ new_button = CURSOR_R;
+
if(new_button != CURSOR_NONE)
{
if(new_button != CURSOR_NONE)
{