Posts: 38
Threads: 8
Joined: Dec 2014
Reputation:
0
Hi there,
I am using an AirTurn tab with a Roland BT-1 trigger pad on my drums which works fine so far. Is there a way to add a double tab action (e. g. 1 tap in 0.5 sec = next page, 2 taps = prev. page)?
Thanks,
Marc
Posts: 13,526
Threads: 302
Joined: Apr 2012
Reputation:
241
It's certainly possible, but there are downsides to it. If I have to listen for a double press, it means that I can't fire a single press until I know that a double press has not occurred. For touch actions, this delay is around 500 milliseconds (1/2 a second), so I would use a similar approach for pedals. So if a double-press action was supported and a user assigned an action to it, every single press action would be slightly delayed, making it feel less responsive. Would you still want this functionality knowing that? This has been the only thing holding me back from adding support for it.
Mike
Posts: 38
Threads: 8
Joined: Dec 2014
Reputation:
0
Hi Mike,
this would not be an issue for my purpose.
Best,
Marc
Posts: 38
Threads: 8
Joined: Dec 2014
Reputation:
0
I would assume that there is only a need to wait if a double-tap action is defined.
Posts: 1,234
Threads: 194
Joined: May 2015
Reputation:
13
Would long press be an option?
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Posts: 13,526
Threads: 302
Joined: Apr 2012
Reputation:
241
That is correct that the requirement to wait 500 ms would only be necessary if a double-tap action is defined. This does require reworking the code to "queue" the action to be fired and only fire it after the 500 ms is elapsed, so I'll have to make sure that this has no impact on the existing functionality.
Long press is not an option because pedals do not have a "key up" type notification. They only send the key down and that's it, so there is no way for me to know how long they are held down or when they are released.
Mike
Posts: 38
Threads: 8
Joined: Dec 2014
Reputation:
0
Also here: your support is very much appreciated Mike!
Marc