shithub: choc

Download patch

ref: 19f2e55200a8a9fb12faa99cd5ed424ad5a10391
parent: 5ddb558a635208d9c08210be8283c83a8d45278f
parent: 72d926022a4903df4cb2bb4822fd308cae797af1
author: Simon Howard <[email protected]>
date: Sat Apr 11 18:54:00 EDT 2015

Merge pull request #521 from chungy/xbone-pad

setup: add support for the Xbox One controller on Linux

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -352,6 +352,13 @@
         xbox360_controller_linux,
     },
 
+    // Xbox One controller as it appears on Linux.
+    {
+        "Microsoft X-Box One pad",
+        6, 11, 1,
+        xbox360_controller_linux,
+    },
+
     {
         "Logitech Dual Action",
         4, 12, 1,