Both Key repeat timers functions have same documentation

SDK version 2.1.1

Key repeat timers

playdate.timer.keyRepeatTimer(callback, ...)

keyRepeatTimer() returns a timer that fires at key-repeat intervals. The function callback will be called immediately, then again after 300 milliseconds, then repeatedly at 100 millisecond intervals. If you wish to customize these millisecond intervals, use keyRepeatTimerWithDelay().

playdate.timer.keyRepeatTimerWithDelay(delayAfterInitialFiring, delayAfterSecondFiring, callback, ...)

keyRepeatTimer() returns a timer that fires at key-repeat intervals. The function callback will be called immediately, then again after 300 milliseconds, then repeatedly at 100 millisecond intervals. If you wish to customize these millisecond intervals, use keyRepeatTimerWithDelay().

1 Like

Thanks for catching this! Here's my prospective edit:

playdate.timer.keyRepeatTimer(callback, ...)

Calls keyRepeatTimerWithDelay() below with standard values of delayAfterInitialFiring = 300 and delayAfterSecondFiring = 100.

playdate.timer.keyRepeatTimerWithDelay(delayAfterInitialFiring, delayAfterSecondFiring, callback, ...)

keyRepeatTimerWithDelay() returns a timer that fires at key-repeat intervals. The function callback will be called immediately, then again after delayAfterInitialFiring milliseconds, then repeatedly at delayAfterSecondFiring millisecond intervals.

Does that seem clear enough?

Still a problem in 2.2.0

fixed in 2.3! Inside Playdate

1 Like