Interface KeyContext

An object shared by virtual keyboard key widgets to tell which modifier keys are being pressed and to store the callback for when a key is pressed.

interface KeyContext {
    alt: boolean;
    callback: KeyContextCallback;
    ctrl: boolean;
    shift: boolean;
}

Properties

Properties

alt: boolean
ctrl: boolean
shift: boolean