-
Notifications
You must be signed in to change notification settings - Fork 59
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
add USB HID Joystick Support #1
Comments
I had interest in it, but there is no HID Joystick support built into the stmduino core and I wasn't about to add it for something that I didn't think anyone would use (this project). If someone is looking for just RX to HID Joystick, there are other options already. Like PeHo's RC Receiver to USB HID, which uses the same connections so just flash and go. |
Thank you @CapnBry for pointing me to PeHo's https://github.com/cruwaller/rc_receiver_to_usb_hid. I had desired something similar for quite a while and I recently setup a half dead flight controller w/betaflight to test ELRS on simulators... As for your CRServoF project I plan to take some time to see if can get it running on an old CC3D for testing ERLS on a basic foam board wing :-). Do you think this issue should be closed or maybe let it sit a while for others to reference? |
We can leave it open, and maybe if there's a lot of people using CRServoF then I'll pull the code in from Jye to add the joystick support as well. In ELRS 1.1 we'll almost certainly have PWM output support so I expect this project will be short-lived. |
If you have a board that supports USB, I used a Teensy 3.2, you could try the HID joystick I made using this CrsfSerial library. It might work for other boards as well with some minor modifications. |
I use a arduino pro micro to implement crsf to HID, the only modification needed is to flash the RX with 115200 baud rate, because the arduino do not support 4k baudrate. It works well with the simulator like tinywhoop go. |
Nice! Atmega328 support higher baud rates as well though, 256000 and 512000. I think both of these work on the CrsfSerial side (the first for sure, the second I can't remember if it did) and can lower the joystick latency by a couple milliseconds. Also requires setting the RX to matching baud like you have done, and that can be done in the RX's webui as well. |
Is there interest in adding a feature similar to the HID Joystick Support found in betaflight 3.4+?
I am not expecting there will be enough desire to yield implementation.
Thank you for building this @CapnBry,
-p
The text was updated successfully, but these errors were encountered: