foxygit / doom Log in
commit a7460558a76596504f617ee8e1267006a7369338
Author:     Jonathan Dowland <jon@dow.land>
AuthorDate: Thu Mar 30 17:35:49 2017 +0100
Commit:     Jonathan Dowland <jon+github@alcopop.org>
CommitDate: Thu Mar 30 17:35:49 2017 +0100

    mappings for NES30 Pro on Linux
---
 src/setup/joystick.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 2869c5c3..861ec70d 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -468,6 +468,13 @@ static const known_joystick_t known_joysticks[] =
         nes30_pro_controller,
     },

+    // the above, via USB on Linux/Raspbian (odd values)
+    {
+        "8Bitdo FC30 Pro*",
+        6, 15, 1,
+        nes30_pro_controller,
+    },
+
     // the above, connected over bluetooth
     {
         "8Bitdo FC30 Pro",