From af02b3ac856f4c57f91d1e009fb3389de2c1c596 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 25 Dec 2016 21:03:04 -0500 Subject: [PATCH] Allow builtin autoconfs with the XBONE controller --- input/input_autodetect_builtin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/input/input_autodetect_builtin.c b/input/input_autodetect_builtin.c index a74705622f..57f4901a51 100644 --- a/input/input_autodetect_builtin.c +++ b/input/input_autodetect_builtin.c @@ -321,6 +321,10 @@ const char* const input_builtin_autoconfs[] = DECL_AUTOCONF_DEVICE("XInput Controller (User 2)", "xinput", XINPUT_DEFAULT_BINDS), DECL_AUTOCONF_DEVICE("XInput Controller (User 3)", "xinput", XINPUT_DEFAULT_BINDS), DECL_AUTOCONF_DEVICE("XInput Controller (User 4)", "xinput", XINPUT_DEFAULT_BINDS), + DECL_AUTOCONF_DEVICE("XBOX One Controller (User 1)", "xinput", XINPUT_DEFAULT_BINDS), + DECL_AUTOCONF_DEVICE("XBOX One Controller (User 2)", "xinput", XINPUT_DEFAULT_BINDS), + DECL_AUTOCONF_DEVICE("XBOX One Controller (User 3)", "xinput", XINPUT_DEFAULT_BINDS), + DECL_AUTOCONF_DEVICE("XBOX One Controller (User 4)", "xinput", XINPUT_DEFAULT_BINDS), #endif #ifdef HAVE_SDL2 DECL_AUTOCONF_DEVICE("Standard Gamepad", "sdl2", SDL2_DEFAULT_BINDS),