input-device-handler - v9.0.3
    Preparing search index...

    Variable deviceHandlerEventConstructorsByTypeConst

    deviceHandlerEventConstructorsByType: {
        "all-devices-updated": TimedEventConstructor<
            Partial<
                { keyboard: KeyboardDevice; mouse: MouseDevice } & Partial<
                    Record<
                        GamepadInputDeviceKey,
                        Readonly<
                            {
                                currentInputs: Readonly<Record<string, InputValue>>;
                                deviceDetails: SerializedGamepad;
                                deviceKey: GamepadInputDeviceKey;
                                deviceName: string;
                                deviceType: Gamepad;
                            },
                        >,
                    >,
                >,
            >,
            "all-devices-updated",
        >;
        "current-inputs-changed": TimedEventConstructor<
            CurrentInputsChangedOutput,
            "current-inputs-changed",
        >;
        "devices-removed": TimedEventConstructor<
            DevicesRemovedOutput,
            "devices-removed",
        >;
        "new-devices-added": TimedEventConstructor<
            NewDevicesAddedOutput,
            "new-devices-added",
        >;
    } = ...

    An object that maps all possible InputDeviceHandler event strings to their respective event constructors.

    Type Declaration