mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
evdev: add keys used by wii controller driver
I'll probably rework the current system sometime soon so that I don't have to add keys every now and then (or I'll just add them all XD)
This commit is contained in:
parent
58ba6d68bb
commit
8e95c0e44d
1 changed files with 7 additions and 0 deletions
|
@ -84,6 +84,13 @@ class evdev_joystick_handler final : public PadHandlerBase
|
|||
// Xbox One S Controller returns some buttons as key when connected through bluetooth
|
||||
{ KEY_BACK , "Back Key" },
|
||||
{ KEY_HOMEPAGE , "Homepage Key"},
|
||||
// Wii/Wii U Controller drivers use the following few keys
|
||||
{ KEY_UP , "Up Key" },
|
||||
{ KEY_LEFT , "Left Key" },
|
||||
{ KEY_RIGHT , "Right Key" },
|
||||
{ KEY_DOWN , "Down Key" },
|
||||
{ KEY_NEXT , "Next Key" },
|
||||
{ KEY_PREVIOUS , "Previous Key"},
|
||||
//{ BTN_MISC , "Misc" }, same as BTN_0
|
||||
{ BTN_0 , "0" },
|
||||
{ BTN_1 , "1" },
|
||||
|
|
Loading…
Add table
Reference in a new issue