EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.58k stars 336 forks source link

Functions with Slider Switches / Dials / Rotary Switches / Knobs #4082

Open iamkenchen opened 1 year ago

iamkenchen commented 1 year ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

There is currently no option of programming special functions or global functions with slider or rotary switches (such as S1, S2, LS, RS on the RadioMaster TX16S). I would like to program the slider / rotary switches to give me an audio cue based on certain positions——for example, I have arming on a rotary (using it like a two-position switch) so I can’t accidentally disarm when I’m flying, and I would like to program the switch such that it plays “armed” or “disarmed” when I hit each end point of the switch. But right now I can’t select any rotary switches in the programming menu.

Describe the solution you'd like

I’d like to be able to pick a value (or a range of values) that the slider / rotary switches can be programmed in special and global functions, similar to the mode sliders in BetaFlight and iNav.

Describe alternatives you've considered

  1. Emulate the endpoints of a rotary or slider as a two-position switch so they can be programmed like two position switches. I would be more than happy to accept this.

Additional context

image

pfeerick commented 1 year ago

For this, at present you should be able to use logical switches to detect the position of the pot, and then fire the relevant special function to play sounds, or carry out other actions.

On Fri, 22 Sept 2023, 10:54 am iamkenchen, @.***> wrote:

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

There is currently no option of programming special functions or global functions with slider or rotary switches (such as S1, S2, LS, RS on the RadioMaster TX16S). I would like to program the slider / rotary switches to give me an audio cue based on certain positions——for example, I have arming on a rotary (using it like a two-position switch) so I can’t accidentally disarm when I’m flying, and I would like to program the switch such that it plays “armed” or “disarmed” when I hit each end point of the switch. But right now I can’t select any rotary switches in the programming menu. Describe the solution you'd like

I’d like to be able to pick a value (or a range of values) that the slider / rotary switches can be programmed in special and global functions, similar to the mode sliders in BetaFlight and iNav. Describe alternatives you've considered

  1. Emulate the endpoints of a rotary or slider as a two-position switch so they can be programmed like two position switches. I would be more than happy to accept this.

Additional context

[image: image] https://user-images.githubusercontent.com/91035406/269797525-cf3309b1-8c1f-4bda-995e-c05e17aa0c6d.jpg

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/4082, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ66KIINNFSZCJSA6CMF7DX3TOVFANCNFSM6AAAAAA5CLBGWI . You are receiving this because you are subscribed to this thread.Message ID: @.***>