commit 432f853e96a379d29c6882b636ab0354f26ad9f8
Author: Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Sun Apr 2 15:55:53 2017 -0700
Commit: Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Sun Apr 2 15:58:40 2017 -0700
joystick: Add NES30 Pro Joystick mode
With the device in joystick mode, the device swaps the D-Pad and
left joysticks with each other, and players might want to use the
joystick instead to play the game.
---
src/setup/joystick.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index a9cb4755..c1cc946d 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -496,6 +496,15 @@ static const known_joystick_t known_joysticks[] =
nes30_pro_controller,
},
+ // 8bitdo NES30 Pro, in joystick mode (R1+Power), swaps the D-Pad
+ // and analog stick inputs. Only applicable over Bluetooth. On USB,
+ // this mode registers the device as an Xbox 360 pad.
+ {
+ "8Bitdo NES30 Pro Joystick",
+ 6, 16, 1,
+ nes30_pro_controller,
+ },
+
// 8Bitdo SFC30 SNES replica controller
// in default mode and in controller mode (Start+R)
// the latter suffixes "Joystick" to the name