Logo


search API (or start typing anywhere)


ModState

snow.types.ModState defined in snow.types.Types

Input modifier state


class
meta: @:publicFields


 

Members


alt
alt : Bool
left or right alt/option key is down
caps
caps : Bool
capslock is enabled
ctrl
ctrl : Bool
left or right ctrl key is down
lalt
lalt : Bool
left alt/option key is down
lctrl
lctrl : Bool
left ctrl key is down
lmeta
lmeta : Bool
left windows/command key is down
lshift
lshift : Bool
left shift key is down
mode
mode : Bool
mode key is down
none
none : Bool
no modifiers are down
num
num : Bool
numlock is enabled
ralt
ralt : Bool
right alt/option key is down
rctrl
rctrl : Bool
right ctrl key is down
rmeta
rmeta : Bool
right windows/command key is down
rshift
rshift : Bool
right shift key is down
shift
shift : Bool
left or right shift key is down

Methods


toStringinline
toString() : String