@game-vir/handle-input - v15.1.1
    Preparing search index...

    Type Alias RawInput

    RawInput: Omit<InputValueWrapper<InputDeviceKey, any>, "details"> & {
        direction: InputDirection;
        duration: { milliseconds: number };
        mapped: Pick<
            InputValueWrapper<InputDeviceKey, any>,
            "deviceName" | "deviceKey" | "inputName",
        > & { gamepadBrand: undefined | string };
    }

    An individual raw input. Used in readRawInputStage and RawInputs.

    Type declaration

    • direction: InputDirection

      The raw input's direction.

    • duration: { milliseconds: number }

      How long this input has been held down in the current direction.

    • mapped: Pick<
          InputValueWrapper<InputDeviceKey, any>,
          "deviceName" | "deviceKey" | "inputName",
      > & { gamepadBrand: undefined | string }