This pull request adds support for the Guitar Hero Live (GHL) Xbox One dongles.
These dongles require a "magic" USB interrupt message to be sent every
8 seconds otherwise the dongle will not report events where the strumbar is hit
while a fret is being held. Therefore, ghl_poke_timer and ghl_urb are added
to struct usb_xpad. ghl_poke_timer ensures periodicity and ghl_urb contains the
"magic" data. The mapping of buttons and axes was chosen to be coherent
with GHL dongles of other consoles (PS3, WiiU & PS4).
This pull request adds support for the Guitar Hero Live (GHL) Xbox One dongles.
These dongles require a "magic" USB interrupt message to be sent every 8 seconds otherwise the dongle will not report events where the strumbar is hit while a fret is being held. Therefore, ghl_poke_timer and ghl_urb are added to struct usb_xpad. ghl_poke_timer ensures periodicity and ghl_urb contains the "magic" data. The mapping of buttons and axes was chosen to be coherent with GHL dongles of other consoles (PS3, WiiU & PS4).
Reviewed by @evilynux