edgetx
edgetx copied to clipboard
Standard touch gestures
After some readings about TOUCH API implementations I do believe some of them should be handled by OS exposing results (Touch event) to LUA API
As an example Double Tap
- Once existing as event in OS it may extend UI capability to assign it as Default action for contextual menus
- Decision of what is Single Tap and what is Double Tap should be processed in OS (with some configuration). There are two factors a. Hardware - some touch layers are more responsive then others so assuming that les't say two taps with 0.4 second gap is treated as Double Tap and not as two Single taps may not be applicable to all HW. so this parameter has to be adjusted on HW base b. User - some are quicker some slower. OS usually allows to define this time gap according to User preferences
Anyway by end of the day we have Single Tap or Double Tap reported. This doesn't exclude possibility to write own LUA implementation based on touch counts etc.