shithub: choc

Download patch

ref: 282c7fdaaf7ff65709c99ba024e1972a98ed58d1
parent: 5ddb558a635208d9c08210be8283c83a8d45278f
author: Simon Howard <fraggle@soulsphere.org>
date: Sat Apr 11 18:52:50 EDT 2015

setup: Add OS X config for Gameport adapter.

The identified name/signature for this adapter is different under OS X.
Also fix a mistake in the last commit.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -387,7 +387,14 @@
     // which should just be the same configuration.
     {
         "WiseGroup.,Ltd Gameport to USB Controller",
-        3, 8, 1,
+        4, 8, 1,
+        pc_gameport_controller,
+    },
+
+    // How the Super Joy Box 7 appears on Mac OS X.
+    {
+        "Gameport to USB Controller",
+        2, 8, 1,
         pc_gameport_controller,
     },
 };