foxygit / doom Log in
commit ecd13198300a4ff01662a622cd33fb936da73559
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Aug 17 18:20:34 2014 -0400
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Aug 17 18:20:34 2014 -0400

    setup: Add gamepad config for XBOX One controller.

    The XBOX One controller apparently appears identical to the Xbox
    360 controller. Thanks Brad Harding.
---
 src/setup/joystick.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 4cc62fe1..2d39470a 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -269,6 +269,12 @@ static const known_joystick_t known_joysticks[] =
         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",