Merge pull request #6761 from rsn8887/master

(Vita/PSP) Use proper button labels, fix inverted R-Stick Y axis
This commit is contained in:
Twinaphex 2018-05-10 06:41:04 +02:00 committed by GitHub
commit cf5d42dbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,30 +153,30 @@ DECL_AXIS(r_y_minus, +3)
#endif #endif
#define PSPINPUT_DEFAULT_BINDS \ #define PSPINPUT_DEFAULT_BINDS \
DECL_BTN(a, 8) \ DECL_BTN_EX(a, 8, "Circle") \
DECL_BTN(b, 0) \ DECL_BTN_EX(b, 0, "Cross") \
DECL_BTN(x, 9) \ DECL_BTN_EX(x, 9, "Triangle") \
DECL_BTN(y, 1) \ DECL_BTN_EX(y, 1, "Square") \
DECL_BTN(start, 3) \ DECL_BTN_EX(start, 3, "Start") \
DECL_BTN(select, 2) \ DECL_BTN_EX(select, 2, "Select") \
DECL_BTN(up, 4) \ DECL_BTN_EX(up, 4, "D-Pad up") \
DECL_BTN(down, 5) \ DECL_BTN_EX(down, 5, "D-Pad down") \
DECL_BTN(left, 6) \ DECL_BTN_EX(left, 6, "D-Pad left") \
DECL_BTN(right, 7) \ DECL_BTN_EX(right, 7, "D-Pad right") \
DECL_BTN(l, 10) \ DECL_BTN_EX(l, 10, "L1") \
DECL_BTN(r, 11) \ DECL_BTN_EX(r, 11, "R1") \
DECL_BTN(l2, 12) \ DECL_BTN_EX(l2, 12, "L2") \
DECL_BTN(r2, 13) \ DECL_BTN_EX(r2, 13, "R2") \
DECL_BTN(l3, 14) \ DECL_BTN_EX(l3, 14, "L3") \
DECL_BTN(r3, 15) \ DECL_BTN_EX(r3, 15, "R3") \
DECL_AXIS(l_x_plus, +0) \ DECL_AXIS_EX(l_x_plus, +0, "L-Stick right") \
DECL_AXIS(l_x_minus, -0) \ DECL_AXIS_EX(l_x_minus, -0, "L-Stick left") \
DECL_AXIS(l_y_plus, +1) \ DECL_AXIS_EX(l_y_plus, +1, "L-Stick down") \
DECL_AXIS(l_y_minus, -1) \ DECL_AXIS_EX(l_y_minus, -1, "L-Stick up") \
DECL_AXIS(r_x_plus, +2) \ DECL_AXIS_EX(r_x_plus, +2, "R-Stick right") \
DECL_AXIS(r_x_minus, -2) \ DECL_AXIS_EX(r_x_minus, -2, "R-Stick left") \
DECL_AXIS(r_y_plus, -3) \ DECL_AXIS_EX(r_y_plus, +3, "R-Stick down") \
DECL_AXIS(r_y_minus, +3) DECL_AXIS_EX(r_y_minus, -3, "R-Stick up")
#define CTRINPUT_DEFAULT_BINDS \ #define CTRINPUT_DEFAULT_BINDS \
DECL_BTN(a, 8) \ DECL_BTN(a, 8) \