shithub: choc

Download patch

ref: dbb9de97fa56713c723bddc827b5965e1512b3c4
parent: 512f236b25bbd2274cfdf17830f811ae6ab25e37
author: Jonathan Dowland <jon+github@alcopop.org>
date: Thu Mar 2 03:59:23 EST 2017

NES30 in USB mode and FC30 variants

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -344,7 +344,7 @@
 };
 
 // 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},
@@ -504,6 +504,25 @@
     {
         "8Bitdo NES30 GamePad*",
         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
     },
 };