InputHapticsManager.CurrentHapticsControllerDeviceType Property

Definition

Gets the type of haptic device for the input device from which input was most recently received by the thread (or the device type set by SetOverrideHapticsController if an override is active).

public:
 property HapticDeviceType CurrentHapticsControllerDeviceType { HapticDeviceType get(); };
HapticDeviceType CurrentHapticsControllerDeviceType();
public HapticDeviceType CurrentHapticsControllerDeviceType { get; }
var hapticDeviceType = inputHapticsManager.currentHapticsControllerDeviceType;
Public ReadOnly Property CurrentHapticsControllerDeviceType As HapticDeviceType

Property Value

The HapticDeviceType of the most recent input device, or HapticDeviceType.None if the device does not support haptics, no input has been received recently, or no override has been set.

Applies to

See also