Note, I can't see the rest of the commit on my phone (some dumb SSL crap)
so it looks good in that specific context to me. I'll reply in full when I
get home from work
On Apr 17, 2014 1:07 PM, "pinumbernumber" <notifications@github.com> wrote:

> In Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp:
>
> > @@ -114,7 +129,9 @@ Device::Device(const XINPUT_CAPABILITIES& caps, u8 index)
> >  	// get supported buttons
> >  	for (int i = 0; i != sizeof(named_buttons)/sizeof(*named_buttons); ++i)
> >  	{
> > -		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))
>
> How does this<https://gist.github.com/pinumbernumber/92332687722a46c59123>look?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dolphin-emu/dolphin/pull/283/files#r11742568>
> .
>