shithub: choc

Download patch

ref: f3cd3474180938f60381efe41e90ba16e4bba51e
parent: a7460558a76596504f617ee8e1267006a7369338
author: Mike Swanson <mikeonthecomputer@gmail.com>
date: Sat Apr 1 13:31:11 EDT 2017

joystick: Add NES30 Pro (not FC30) mappings for Linux

Previous commit only concerned FC30.  Tested this with both USB and
Bluetooth modes.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -475,10 +475,24 @@
         nes30_pro_controller,
     },
 
+    // the above, NES variant, via USB on Linux/Raspbian (odd values)
+    {
+        "8Bitdo NES30 Pro*",
+        6, 15, 1,
+        nes30_pro_controller,
+    },
+
     // the above, connected over bluetooth
     {
         "8Bitdo FC30 Pro",
         4, 16, 1,
+        nes30_pro_controller,
+    },
+
+    // the above, NES variant, connected over bluetooth
+    {
+        "8Bitdo NES30 Pro",
+        6, 16, 1,
         nes30_pro_controller,
     },