You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dansteingart I don't think there is a way implemented but you can implement it yourself such easily, e.g.
// time to wait before repeating keyconstrepeatAfterMs=1000// 1s// repeat speedconstrepeatSpeedMs=300// 0.3sletrepeatStartTimeout,repeatIntervalgamepad.before('button0',()=>{action()repeatStartTimeout=setTimeout(()=>{repeatInterval=setInterval(()=>{action()},repeatSpeedMs)},repeatAfterMs)}).after('button0',()=>{clearTimeout(repeatStartTimeout)clearInterval(repeatInterval)})
Is there a simple way of implementing a hold delay, such that the following behavior happens:
Similar to a keyboard repeat delay. TIA.
The text was updated successfully, but these errors were encountered: