foxygit / doom Log in
commit 282c7fdaaf7ff65709c99ba024e1972a98ed58d1
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sat Apr 11 22:52:50 2015 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sat Apr 11 22:52:50 2015 -0400

    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.
---
 src/setup/joystick.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index db4ad258..6c26e950 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -387,7 +387,14 @@ static const known_joystick_t known_joysticks[] =
     // 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,
     },
 };