.longreleasedelay Property

Function:

Defines (in 10ms increments) the amount of time a key will have to remain released for the key state to transition from _RELEASED into _LONGRELEASED state.

Type:

Byte

Value Range:

0-254. Default = 100 (1 sec).

See Also:

Key States and Transitions, Preparing the Keypad for Operation


Details

A new keypad event with the 0 — PL_KP_EVENT_LONGRELEASED event code will be added to the keypad event FIFO once a key transitions into the _LONGRELEASED 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 "_LONGRELEASED state.


.longreleasedelay Property

Details