InputHapticsManager.CurrentHapticsControllerDeviceType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.