unreal.HardwareDeviceSupportedFeatures

class unreal.HardwareDeviceSupportedFeatures

Bases: EnumBase

A bitmask of supported features that a hardware device has.

C++ Source:

  • Module: Engine

  • File: InputSettings.h

ACCELERATION: HardwareDeviceSupportedFeatures

This device can track acceleration in the users physical space

Type:

1024

AUDIO_BASED_VIBRATIONS: HardwareDeviceSupportedFeatures

Does this device support vibrations sourced from an audio file?

Type:

512

CAMERA: HardwareDeviceSupportedFeatures

Does this device have a camera on it that we can access?

Type:

16

CUSTOM_A: HardwareDeviceSupportedFeatures

Some custom flags that can be used in your game if you have custom hardware!

Type:

16777216

CUSTOM_B: HardwareDeviceSupportedFeatures

33554432

CUSTOM_C: HardwareDeviceSupportedFeatures

67108864

CUSTOM_D: HardwareDeviceSupportedFeatures

134217728

DRUMS: HardwareDeviceSupportedFeatures

This device has the capabilities of drums (symbols, foot pedal, etc)

Type:

32768

FORCE_FEEDBACK: HardwareDeviceSupportedFeatures

Flagged true if this device supports force feedback

Type:

256

GAMEPAD: HardwareDeviceSupportedFeatures

This device has basic gamepad support

Type:

4

GUITAR: HardwareDeviceSupportedFeatures

This device has the capabilities of a guitar (whammy bar, tilt, etc)

Type:

16384

KEYPRESS: HardwareDeviceSupportedFeatures

This device can support basic key presses

Type:

1

LIGHTS: HardwareDeviceSupportedFeatures

This hardware supports setting a light color (such as an LED light bar)

Type:

64

MICROPHONE: HardwareDeviceSupportedFeatures

This device has a microphone on it that you can get audio from

Type:

4096

MOTION_TRACKING: HardwareDeviceSupportedFeatures

Can this device track motion in a 3D space? (VR controllers, headset, etc)

Type:

32

ORIENTATION: HardwareDeviceSupportedFeatures

This device can track the orientation in world space, such as a gyroscope

Type:

8192

POINTER: HardwareDeviceSupportedFeatures

This device can handle basic pointer behavior, such as a mouse

Type:

2

TOUCH: HardwareDeviceSupportedFeatures

This device supports touch in some capactiy (tablet, controller with a touch pad, etc)

Type:

8

TRIGGER_HAPTICS: HardwareDeviceSupportedFeatures

Does this device have trigger haptics available?

Type:

128

UNSPECIFIED: HardwareDeviceSupportedFeatures

A device that has not specified the type

Type:

0

VIRTUAL: HardwareDeviceSupportedFeatures

This is a virtual device simulating input, not a physical device

Type:

2048