mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 01:30:51 +00:00
Merge pull request #6761 from rsn8887/master
(Vita/PSP) Use proper button labels, fix inverted R-Stick Y axis
This commit is contained in:
commit
cf5d42dbfe
@ -153,30 +153,30 @@ DECL_AXIS(r_y_minus, +3)
|
||||
#endif
|
||||
|
||||
#define PSPINPUT_DEFAULT_BINDS \
|
||||
DECL_BTN(a, 8) \
|
||||
DECL_BTN(b, 0) \
|
||||
DECL_BTN(x, 9) \
|
||||
DECL_BTN(y, 1) \
|
||||
DECL_BTN(start, 3) \
|
||||
DECL_BTN(select, 2) \
|
||||
DECL_BTN(up, 4) \
|
||||
DECL_BTN(down, 5) \
|
||||
DECL_BTN(left, 6) \
|
||||
DECL_BTN(right, 7) \
|
||||
DECL_BTN(l, 10) \
|
||||
DECL_BTN(r, 11) \
|
||||
DECL_BTN(l2, 12) \
|
||||
DECL_BTN(r2, 13) \
|
||||
DECL_BTN(l3, 14) \
|
||||
DECL_BTN(r3, 15) \
|
||||
DECL_AXIS(l_x_plus, +0) \
|
||||
DECL_AXIS(l_x_minus, -0) \
|
||||
DECL_AXIS(l_y_plus, +1) \
|
||||
DECL_AXIS(l_y_minus, -1) \
|
||||
DECL_AXIS(r_x_plus, +2) \
|
||||
DECL_AXIS(r_x_minus, -2) \
|
||||
DECL_AXIS(r_y_plus, -3) \
|
||||
DECL_AXIS(r_y_minus, +3)
|
||||
DECL_BTN_EX(a, 8, "Circle") \
|
||||
DECL_BTN_EX(b, 0, "Cross") \
|
||||
DECL_BTN_EX(x, 9, "Triangle") \
|
||||
DECL_BTN_EX(y, 1, "Square") \
|
||||
DECL_BTN_EX(start, 3, "Start") \
|
||||
DECL_BTN_EX(select, 2, "Select") \
|
||||
DECL_BTN_EX(up, 4, "D-Pad up") \
|
||||
DECL_BTN_EX(down, 5, "D-Pad down") \
|
||||
DECL_BTN_EX(left, 6, "D-Pad left") \
|
||||
DECL_BTN_EX(right, 7, "D-Pad right") \
|
||||
DECL_BTN_EX(l, 10, "L1") \
|
||||
DECL_BTN_EX(r, 11, "R1") \
|
||||
DECL_BTN_EX(l2, 12, "L2") \
|
||||
DECL_BTN_EX(r2, 13, "R2") \
|
||||
DECL_BTN_EX(l3, 14, "L3") \
|
||||
DECL_BTN_EX(r3, 15, "R3") \
|
||||
DECL_AXIS_EX(l_x_plus, +0, "L-Stick right") \
|
||||
DECL_AXIS_EX(l_x_minus, -0, "L-Stick left") \
|
||||
DECL_AXIS_EX(l_y_plus, +1, "L-Stick down") \
|
||||
DECL_AXIS_EX(l_y_minus, -1, "L-Stick up") \
|
||||
DECL_AXIS_EX(r_x_plus, +2, "R-Stick right") \
|
||||
DECL_AXIS_EX(r_x_minus, -2, "R-Stick left") \
|
||||
DECL_AXIS_EX(r_y_plus, +3, "R-Stick down") \
|
||||
DECL_AXIS_EX(r_y_minus, -3, "R-Stick up")
|
||||
|
||||
#define CTRINPUT_DEFAULT_BINDS \
|
||||
DECL_BTN(a, 8) \
|
||||
|
Loading…
Reference in New Issue
Block a user