Repository navigation
feat(tx16smk3): add PC-controlled RGB ring feedback - #7745
szokezoltan95 wants to merge 3 commits into
Conversation
|
Why? |
|
The goal is to let a PC simulator or other desktop application provide visual feedback through the radio's built-in gimbal-ring LEDs while the TX16S MK3 continues operating as a USB joystick. For example, a simulator could use the rings to indicate an aircraft or vehicle state, warning, mode, or other application-defined status without requiring separate external LED hardware. EdgeTX and Lua can currently control these LEDs locally, but the PC has no corresponding feedback path through the joystick connection. I kept this initial implementation deliberately narrow: Advanced Joystick mode only, one color across the gimbal-ring LEDs, no change to Classic mode, and automatic release on timeout or USB disconnection. The six function-switch LEDs remain controlled by EdgeTX. I built this primarily for my own simulator setup, but submitted it in case the capability is useful to others. I am open to changing the architecture or scope if a more general host-feedback interface would fit EdgeTX better. |
|
One radio, a single user use case, should stay in its own fork imho |
|
Understood. The gimbal-ring hardware itself appears to be specific to the TX16S MK3, although EdgeTX already contains the generic RGB infrastructure needed to operate it locally. Would a generic host-feedback interface still be of interest, or is PC-driven control outside the intended scope of EdgeTX? If it is out of scope, I am happy to maintain this in my fork. |
That's not true. A couple of radios already support and have controllable LEDs, like the Flysky ST16, PA01, TX15, ... |
Thank you for the info, I am just working with what I have physically available. |
To be honest, I think so... it's primary scope is actual control / flight, PC simulator secondary... and even then, not niche cases. i.e. if one or more mainstream simulators actually supported / wanted to support this, then there would be reason to support it in the version of edgetx that everyone uses. |
Summary of changes:
Adds host-to-radio RGB feedback for the RadioMaster TX16S MK3 through the existing Advanced USB Joystick HID interface.
Motivation
Allow PC simulators and desktop applications to provide visual status feedback through the TX16S MK3's built-in gimbal-ring LEDs while using the radio as a USB joystick, without requiring separate LED hardware.
Feature Report payload
1)0= all gimbal-ring LEDs)Commands
123Testing
PCB=TX16SMK3using the EdgeTX Docker development image.Final local firmware build SHA-256:
abf0c64d300e40c9db5046df29f4d61d2c467de3a41dd589c333dcbc9da7ccaa