.repeatdelay Property
Function: |
Defines (in 10ms increments) the time period at which the on_kp event with 4 — PL_KP_EVENT_REPEATPRESSED event code will be generated once the key reaches the _LONGPRESSED state and remains pressed. |
Type: |
Byte |
Value Range: |
0-254. Default = 3 (30ms). |
See Also: |
Key States and Transitions, Preparing the Keypad for Operation |
Details
A new keypad event with the 4 — PL_KP_EVENT_REPEATPRESSED event code will be added to the keypad event FIFO when a key (re-)transitions into the _REPEATPRESSED state.
This property can only be changed when the keypad is disabled (kp.enabled = 0 — NO). Setting the property to 0 means that the key will never transition into the _REPEATPRESSED state.