Merged
Conversation
Heavily refactor the library: all the wiimote-specific parts are now removed (and moved to the fakemote source directory) and the library now delivers input events modelled after the SDL3 GameController abstraction.
These files are no longer common, they are just for the fakemote module.
This will make it easier to disable building fakemote on other platforms.
Add `-DBUILD_EXAMPLE` to cmake's command line to build it.
For some reason it is working on the Wii even if the endpoint is wrong, but on Linux + libusb we need to specify the correct one, or the ioctl will return ENOENT.
xerpi
approved these changes
May 26, 2025
Owner
xerpi
left a comment
There was a problem hiding this comment.
Awesome!
Having a PC tool to test it out is also a very nice idea, thanks!
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi!
This is built on top of #67, so it must be merged after it.
Add a platform backend based on libusb, and a little test program for it. With it, I could verify that the Dragonrise controller works on my Linux desktop via EGC.
The last commit fixes a small (but important!) issue on the dragonrise driver, which for some reason does not manifests itself on a Wii.