Enable/Disable Buttons on the radio with a switch
Is there an existing issue for this feature request?
- [X] I have searched the existing issues
Is your feature request related to a problem?
Sometimes it could be very useful to be able to disable the buttons on the radio. Especially if you have big hands like me. On my Radiomaster TX12 I often push the Model- or Sys-buttons accidentally.
Describe the solution you'd like
There is already an option in EdgTX to lock the Touchscreen with a switch. The same option could be integrated in EdgTX for locking the buttons of the radio during flight or if you give the radio to a student.
Describe alternatives you've considered
No response
Additional context
No response
Disabling hardware controls like the SYS or MDL buttons could render a radio unusable until it is connected to a computer or had a new SD card inserted. People like to play around with settings and having one that locks you out might not be a good idea. I like the "demo mode" concept but it might cause some headaches.
That is my concern here also... since for most radios, touch is one of two input methods, disabling touch isn't that big of a problem. For this to work, there would perhaps need to be a bypass... i.e. perhaps if you hold the enter key for 5 seconds when the key lock SF is active, the keys are bypassed. Something similar is probably needed for touch also... when press on the top left (i.e. where the ETX logo is usually displayed) for more than five seconds, touch screen lock is disabled (of particular importance for those radios only with touch screen interfaces).
I broke my Very expensive Vortex3 DLG glider yesterday due to this issue. In between landing and launching i somehow inadvertently inverted the elevator, I did have the Tx around my neck, but took it off to hold it in my hand for the launch and in doing so I must have pressed some buttons/touchscreen. The Tx was on the ‘default screen’ as normal but ended up displaying mixer graphs.
Sorry to hear about your glider. You can disable touch with a special function but that doesn't do much for the keys.
If you create a full screen widget selecting App mode instead of full screen the widget now accepts key input. Just select a simple widget that displays the model name. When you select the widget page and long press enter all the inputs will be disabled unless you long press the exit key. It seems to me that's a decent screen lock. You could even write a simple lua script widget that says lock if you want or beeps if you press any key so you know you are touching buttons when the screen is locked.