Skip to main content

key_events

Function key_events 

Source
pub fn key_events(chord: &Chord) -> Vec<Value>
Expand description

The full ordered event sequence for a chord.

Modifiers down in declaration order, the key down and up, then modifiers up in reverse. Reverse release matters: a Shift left down leaks into whatever the page does next.

Each event carries the modifier bitmask in force at that moment, the target key’s included — omitting it there is the usual reason Control+A selects nothing.