menu
ModifierState
import { ModifierState } from "destack:input/binding";
Keyboard modifier and lock state.
1export struct ModifierState {2 isAlt: boolean;3 isAltGraph: boolean;4 isCapsLock: boolean;5 isControl: boolean;6 isFn: boolean;7 isFnLock: boolean;8 isMeta: boolean;9 isNumLock: boolean;10 isScrollLock: boolean;11 isShift: boolean;12 isSymbol: boolean;13 isSymbolLock: boolean;14}Members
isAlt: booleanWhether Alt is active.
isAltGraph: booleanWhether AltGraph is active.
isCapsLock: booleanWhether Caps Lock is active.
isControl: booleanWhether Control is active.
isFn: booleanWhether Fn is active.
isFnLock: booleanWhether Fn Lock is active.
isMeta: booleanWhether Meta is active.
isNumLock: booleanWhether Num Lock is active.
isScrollLock: booleanWhether Scroll Lock is active.
isShift: booleanWhether Shift is active.
isSymbol: booleanWhether Symbol is active.
isSymbolLock: booleanWhether Symbol Lock is active.