mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Input: fix evdev buttons
This commit is contained in:
parent
595ad15499
commit
ac3982d2b0
2 changed files with 8 additions and 5 deletions
|
@ -81,6 +81,9 @@ class evdev_joystick_handler final : public PadHandlerBase
|
|||
// Unique button names for the config files and our pad settings dialog
|
||||
const std::unordered_map<u32, std::string> button_list =
|
||||
{
|
||||
// Xbox One S Controller returns some buttons as key when connected through bluetooth
|
||||
{ KEY_BACK , "Back Key" },
|
||||
{ KEY_HOMEPAGE , "Homepage Key"},
|
||||
//{ BTN_MISC , "Misc" }, same as BTN_0
|
||||
{ BTN_0 , "0" },
|
||||
{ BTN_1 , "1" },
|
||||
|
@ -198,10 +201,7 @@ class evdev_joystick_handler final : public PadHandlerBase
|
|||
{ BTN_TRIGGER_HAPPY37 , "Happy 37" },
|
||||
{ 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"},
|
||||
{ BTN_TRIGGER_HAPPY40 , "Happy 40" }
|
||||
};
|
||||
|
||||
// Unique positive axis names for the config files and our pad settings dialog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue