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

Add support for the guide button to XInput #283

Merged
merged 1 commit into from Apr 17, 2014

Conversation

pinumbernumber
Copy link
Contributor

A small tweak to add support for the guide button. It's handy mapping it to the Wii menu key.

@delroth
Copy link
Member

delroth commented Apr 17, 2014

@dolphin-emu-bot rebuild

if (named_buttons[i].bitmask & caps.Gamepad.wButtons)
// Guide button is never reported in caps
if ((named_buttons[i].bitmask & caps.Gamepad.wButtons) ||
((named_buttons[i].bitmask & XINPUT_GAMEPAD_GUIDE) && haveGuideButton))

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@delroth
Copy link
Member

delroth commented Apr 17, 2014

Other than this nitpicking, LGTM. I'll just wait for @lioncash to comment on the style issue before merging.

delroth added a commit that referenced this pull request Apr 17, 2014
Add support for the guide button to XInput
@delroth delroth merged commit 68d0a32 into dolphin-emu:master Apr 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants