From 72d926022a4903df4cb2bb4822fd308cae797af1 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Wed, 31 Dec 2014 06:02:40 -0800 Subject: setup: add support for the Xbox One controller on Linux Effectively it's a slightly re-arranged Xbox 360 controller, no major changes, so we can just use the same config as that one. --- src/setup/joystick.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/setup/joystick.c b/src/setup/joystick.c index dc94b2f0..2a07d181 100644 --- a/src/setup/joystick.c +++ b/src/setup/joystick.c @@ -331,6 +331,13 @@ static const known_joystick_t known_joysticks[] = 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, -- cgit v1.2.3