edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Standard touch gestures

Open JimB40 opened this issue 3 years ago • 0 comments

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

  1. Once existing as event in OS it may extend UI capability to assign it as Default action for contextual menus
  2. 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.

JimB40 avatar Oct 01 '21 05:10 JimB40