-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XBOXOLD: do not hardcode endpoint descriptors
The 045e:0202 "Microsoft X-Box pad v1 (US)" uses endpoint 2 both for IN and OUT, while 045e:0289 "Microsoft X-Box pad v2 (US)" uses endpoint 1 for IN and endpoint 2 for OUT. Instead of hardcoding endpoints, read them from configuration descriptors to make all controllers work. Without this patch, 045e:0202 does not work. Signed-off-by: Albert Herranz <[email protected]>
- Loading branch information
Showing
3 changed files
with
151 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters