Navigation
API > API/Runtime > API/Runtime/Engine
A bitmask of supported features that a hardware device has.
| Name | EHardwareDeviceSupportedFeatures::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/InputSettings.h |
| Include Path | #include "GameFramework/InputSettings.h" |
Syntax
namespace EHardwareDeviceSupportedFeatures
{
enum Type
{
Unspecified = 0x00000000,
Keypress = 0x00000001,
Pointer = 0x00000002,
Gamepad = 0x00000004,
Touch = 0x00000008,
Camera = 0x00000010,
MotionTracking = 0x00000020,
Lights = 0x00000040,
TriggerHaptics = 0x00000080,
ForceFeedback = 0x00000100,
AudioBasedVibrations = 0x00000200,
Acceleration = 0x00000400,
Virtual = 0x00000800,
Microphone = 0x00001000,
Orientation = 0x00002000,
Guitar = 0x00004000,
Drums = 0x00008000,
CustomA = 0x01000000,
CustomB = 0x02000000,
CustomC = 0x04000000,
CustomD = 0x08000000,
All = 0x7FFFFFFF,
}
}
Values
| Name | Remarks |
|---|---|
| Unspecified | A device that has not specified the type |
| Keypress | This device can support basic key presses |
| Pointer | This device can handle basic pointer behavior, such as a mouse |
| Gamepad | This device has basic gamepad support |
| Touch | This device supports touch in some capactiy (tablet, controller with a touch pad, etc) |
| Camera | Does this device have a camera on it that we can access? |
| MotionTracking | Can this device track motion in a 3D space? (VR controllers, headset, etc) |
| Lights | This hardware supports setting a light color (such as an LED light bar) |
| TriggerHaptics | Does this device have trigger haptics available? |
| ForceFeedback | Flagged true if this device supports force feedback |
| AudioBasedVibrations | Does this device support vibrations sourced from an audio file? |
| Acceleration | This device can track acceleration in the users physical space |
| Virtual | This is a virtual device simulating input, not a physical device |
| Microphone | This device has a microphone on it that you can get audio from |
| Orientation | This device can track the orientation in world space, such as a gyroscope |
| Guitar | This device has the capabilities of a guitar (whammy bar, tilt, etc) |
| Drums | This device has the capabilities of drums (symbols, foot pedal, etc) |
| CustomA | Some custom flags that can be used in your game if you have custom hardware! |
| CustomB | |
| CustomC | |
| CustomD | |
| All | A flag for ALL supported device flags |