Bluetooth returns select as KEY_BACK for XBOX ONE controller. (#5303)

This commit is contained in:
RipleyTom 2018-11-05 15:25:38 +01:00 committed by Ani
parent 488928eca2
commit 9831bc6bc9
1 changed files with 4 additions and 1 deletions

View File

@ -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