CapnBry / CRServoF

CRSF to PWM Servo converter for STM32F103
GNU General Public License v3.0
204 stars 51 forks source link

add USB HID Joystick Support #1

Open pitts-mo opened 3 years ago

pitts-mo commented 3 years ago

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

CapnBry commented 3 years ago

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.

pitts-mo commented 3 years ago

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? Thank you, -p

CapnBry commented 3 years ago

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.

sfjuocekr commented 2 years ago

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.

benedikt-bartscher commented 1 year ago

see https://github.com/mikeneiderhauser/CRSFJoystick