|
.Pressdelay Property |
Top Previous Next |
Function: |
Defines (in 10ms increments) the amount of time a key should remain pressed for the key state to transition from "released" into "pressed". |
Type: |
Byte |
Value Range: |
0-254. Default= 3 (30ms). |
See Also: |
Key States and Transitions, Preparing the Keypad for Operation |
Details
The on_kp event with 2- PL_KP_EVENT_PRESSED event code will be generated once the key transitions into the "pressed" 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 "pressed" state.