Skip to content

Commit

Permalink
evdev: add keys used by wii controller driver
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Megamouse committed Apr 25, 2020
1 parent 58ba6d6 commit 8e95c0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rpcs3/Input/evdev_joystick_handler.h
Expand Up @@ -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" },
Expand Down

0 comments on commit 8e95c0e

Please sign in to comment.