Skip to content

Conversation

@mnabakker
Copy link

XBOX 360 usb control messages for an interface, need the correct Interface specified. Currently this is set to a fixed value of Interface 0. This is needed for usb devices that do not have the XBOX 360 on the first Interface, and/or for usb devices that have multiple XBOX 360 Interfaces.

Removed the cpu_to_le16() usage from the recently added 'QUIRK_360_START' packets, as this is handled by the function usb_control_msg() and not by the user of this function.

Signed-off-by: M Bakker [email protected]

1)
XBOX 360 usb control messages for an interface, need the correct Interface specified.
Currently this is set to a fixed value of Interface 0.
This is needed for usb devices that do not have the XBOX 360 on the first Interface, and/or for usb devices that have multiple XBOX 360 Interfaces.

2)
Removed the cpu_to_le16() usage from the recently added 'QUIRK_360_START' packets, as this is handled by the function usb_control_msg() and not by the user of this function.

Signed-off-by: M Bakker <[email protected]>
@drmadill
Copy link

With regards to point 1, I reordered the interfaces on our composite device to make the gamepad interface 0 for this very reason - it was not recognized by the xpad driver when it was an interface other than 0. So being able to support interfaces other than 0 strikes me as a valuable addition to the driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants