shithub: choc

Download patch

ref: ecd13198300a4ff01662a622cd33fb936da73559
parent: 6b422a3ed52742adeb57da3fa934090130696d2a
author: Simon Howard <[email protected]>
date: Sun Aug 17 14:20:34 EDT 2014

setup: Add gamepad config for XBOX One controller.

The XBOX One controller apparently appears identical to the Xbox
360 controller. Thanks Brad Harding.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -269,6 +269,12 @@
         xbox360_controller,
     },
 
+    {
+        "Controller (XBOX One For Windows)",
+        5, 10, 1,
+        xbox360_controller,
+    },
+
     // Xbox 360 controller as it appears on Linux.
     {
         "Microsoft X-Box 360 pad",