From 9831bc6bc91f3af87cda757c0375af15b7f9d4fd Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Mon, 5 Nov 2018 15:25:38 +0100 Subject: [PATCH] Bluetooth returns select as KEY_BACK for XBOX ONE controller. (#5303) --- rpcs3/evdev_joystick_handler.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rpcs3/evdev_joystick_handler.h b/rpcs3/evdev_joystick_handler.h index d94f338b37..cb05584f0e 100644 --- a/rpcs3/evdev_joystick_handler.h +++ b/rpcs3/evdev_joystick_handler.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include "Utilities/types.h" #include "Utilities/Config.h" @@ -199,6 +199,9 @@ class evdev_joystick_handler final : public PadHandlerBase { BTN_TRIGGER_HAPPY38 , "Happy 38" }, { BTN_TRIGGER_HAPPY39 , "Happy 39" }, { BTN_TRIGGER_HAPPY40 , "Happy 40" }, + // Xbox One S Controller returns some buttons as key when connected through bluetooth + { KEY_BACK , "Back Key" }, + { KEY_HOMEPAGE , "Homepage Key"}, }; // Unique positive axis names for the config files and our pad settings dialog