event

fun event(matches: Collection<K>, down: Boolean, consumed: Boolean)(source)

Forwards a physical key/button transition only to permitted bindings; release always clears a forwarded press. Repeated down notifications do not toggle or enqueue another press while that binding remains held.