EInputDevices

Input event data can be applicable to many possible input devices.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InputState.h

Include

#include "InputState.h"

Syntax

enum EInputDevices
{
    None                = 0,
    Keyboard            = 1,
    Mouse               = 2,
    Gamepad             = 4,
    OculusTouch         = 8,
    HTCViveWands        = 16,
    AnySpatialDevice    = OculusTouch | HTCViveWands,
    TabletFingers       = 1024,
}

Values

Name

Description

None

Keyboard

Mouse

Gamepad

OculusTouch

HTCViveWands

AnySpatialDevice

TabletFingers

Remarks

Input event data can be applicable to many possible input devices. These flags are used to indicate specific or sets of device types.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss