Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evdev: add keys used by wii controller driver #8099

Merged
merged 2 commits into from Apr 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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