enum KeyState
source · line 63public
public enum KeyState
Additional lock and keypad state reported by an enhanced keyboard protocol.
variant NumLock
source · line 75public
NumLock
Num Lock was active.
variant CapsLock
source · line 71public
CapsLock
Caps Lock was active.
variant Keypad
source · line 67public
Keypad
The key came from the numeric keypad.
function equals
source · line 63publiccompiler-derived
operator fun equals(other: KeyState): Boolean
This derived operation is available when each field or payload type supports same-type equality.