-
Notifications
You must be signed in to change notification settings - Fork 5
Gamepad support plus bug fixes #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Update to use a separate characteristic and send binary for just the values that have changed
Updated to map the buttons correctly.
Identify hex values for vendor ID and product ID
Fixed sending more packets before the last ones finished.
Was using just writeValue that has an optional response.
Added blocks for the gamepads
Added a send and receive characteristics for just data. joystick and dashboard
Joystick handling for XRPLib
This will include any subdirectories we are executing from when fetching files from the server. This would fix staging as well.
It kills trying to fetch __init__.py
And changed to version 2.02
Forces a reload of the libraries
Added trigger, back, start, and D-Pad buttons. Plus changed the color for gamepad blocks.
Don't try to return a button or joystick that the gamepad does not have
The joystick api turned to the gamepad api and calls were shortened.
Changed the main program to only not run the last program when a STOP was pushed for bluetooth. Also switched to just writeValue when writing STOP since the timeout in Windows is too long with writeValueWithResonse
Calling stop on gamepad when a reset happens.
When doing a STOPs and it is BLE then don't wait for the response as the WIndows timeout is long
For a few times
Use common routines. Added some waits and retries. As well now display a waiting dialog when connecting or stopping with ble since it takes a lot more time than with a USB cable.
To avoid connection errors.
This avoids getting errors on the Browser side.
For change to the ble code
An IRQ event was happening that messed up the directory on WIndows 11.
For this release
There were sticky keys for the joystick
Without the await the Message was not showing before an exception happened.
It puts a gamepad icon on the menu bar when it notices a gamepad is attached.
removed non used code
When attached to serial this is the best spot to stop the STOP button spinner.
Chagelog updated for the release.
Added to the disconnect delay for brower bug, Made the update persent not go past 100 by using floor instead of round, Improved stop function with serial
bradamiller
approved these changes
Jul 13, 2025
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.
Added Gamepad support
Added comment block
Added repeat until user_button block
Added a waiting "spinner" dialog when connecting or stopping
Added to ask user to refresh browser when things timeout