-
Notifications
You must be signed in to change notification settings - Fork 37
Unit Reference OnMultiKeyPress
S2NX7 edited this page Sep 30, 2025
·
1 revision
This unit triggers an event when two specified keys are pressed simultaneously or within a configurable delay. You can detect key down, hold, or key up states for multi-key combinations.
Input Ports
- Key1 : The first key in the multi-key combination.
- Key2 : The second key in the multi-key combination.
-
Action : The type of key press to detect (
Down
,Hold
,Up
).
Settings
- Delay : Maximum time interval (in seconds) allowed between the two key presses for them to count as the same multi-key action. Default is 0.2 seconds.
Behavior
-
Down: Triggers when both keys are pressed within the
Delay
interval. - Hold: Triggers continuously while both keys are held down.
-
Up: Triggers when both keys are released within the
Delay
interval.