summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
authorSimon Howard2014-08-17 18:20:34 -0400
committerSimon Howard2014-08-17 18:20:34 -0400
commitecd13198300a4ff01662a622cd33fb936da73559 (patch)
treed2f694f566ea9f07c654b2b91b5847ed00d6684d /src/setup
parent6b422a3ed52742adeb57da3fa934090130696d2a (diff)
downloadchocolate-doom-ecd13198300a4ff01662a622cd33fb936da73559.tar.gz
chocolate-doom-ecd13198300a4ff01662a622cd33fb936da73559.tar.bz2
chocolate-doom-ecd13198300a4ff01662a622cd33fb936da73559.zip
setup: Add gamepad config for XBOX One controller.
The XBOX One controller apparently appears identical to the Xbox 360 controller. Thanks Brad Harding.
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/joystick.c6
1 files changed, 6 insertions, 0 deletions
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",