Skip to content

Conversation

@fgrossman
Copy link
Collaborator

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

fgrossman added 30 commits April 3, 2025 00:03
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
Always send the joystick data each time
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
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.
fgrossman added 19 commits May 28, 2025 22:45
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.
The initial joysticsArray was not increased to match updated data.
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
@fgrossman fgrossman self-assigned this Jul 13, 2025
@fgrossman fgrossman requested review from AMapua20 and bradamiller and removed request for AMapua20 July 13, 2025 20:37
@bradamiller bradamiller merged commit 5f63847 into main Jul 13, 2025
3 checks passed
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.

3 participants