commit dbb9de97fa56713c723bddc827b5965e1512b3c4
Author: Jonathan Dowland <jon+github@alcopop.org>
AuthorDate: Thu Mar 2 08:59:23 2017 +0000
Commit: Jonathan Dowland <jon+github@alcopop.org>
CommitDate: Thu Mar 2 11:53:21 2017 +0000
NES30 in USB mode and FC30 variants
---
src/setup/joystick.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 81be774e..e7fb1699 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -344,7 +344,7 @@ static const joystick_config_t nes30_pro_controller[] =
};
// http://www.8bitdo.com/sfc30/ or http://www.8bitdo.com/snes30/
-// and http://www.8bitdo.com/nes30/
+// and http://www.nes30.com/ and http://www.fc30.com/
static const joystick_config_t sfc30_controller[] =
{
{"joystick_x_axis", 0},
@@ -506,6 +506,25 @@ static const known_joystick_t known_joysticks[] =
4, 16, 1,
sfc30_controller, // identical to SFC30
},
+ // FC30 variant of the above
+ {
+ "8Bitdo FC30 GamePad*",
+ 4, 16, 1,
+ sfc30_controller, // identical to SFC30
+ },
+
+ // NES30 in USB mode
+ {
+ "NES30*",
+ 4, 12, 1,
+ sfc30_controller, // identical to SFC30
+ },
+ // FC30 variant of the above
+ {
+ "FC30*",
+ 4, 12, 1,
+ sfc30_controller, // identical to SFC30
+ },
};
static const known_joystick_t *GetJoystickType(int index)