Udostępnij za pośrednictwem


SimpleHapticsController.SendHapticFeedback Method

Definition

Overloads

SendHapticFeedback(SimpleHapticsControllerFeedback)

Start haptic feedback by the input device.

SendHapticFeedback(SimpleHapticsControllerFeedback, Double)

Start haptic feedback by the input device with the specified intensity.

SendHapticFeedback(SimpleHapticsControllerFeedback)

Start haptic feedback by the input device.

public:
 virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback);
[Windows.Foundation.Metadata.Overload("SendHapticFeedback")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback);
function sendHapticFeedback(feedback)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback)

Parameters

feedback
SimpleHapticsControllerFeedback

The type of haptic feedback.

Attributes

Applies to

SendHapticFeedback(SimpleHapticsControllerFeedback, Double)

Start haptic feedback by the input device with the specified intensity.

public:
 virtual void SendHapticFeedback(SimpleHapticsControllerFeedback ^ feedback, double intensity) = SendHapticFeedback;
/// [Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
void SendHapticFeedback(SimpleHapticsControllerFeedback const& feedback, double const& intensity);
[Windows.Foundation.Metadata.Overload("SendHapticFeedbackWithIntensity")]
public void SendHapticFeedback(SimpleHapticsControllerFeedback feedback, double intensity);
function sendHapticFeedback(feedback, intensity)
Public Sub SendHapticFeedback (feedback As SimpleHapticsControllerFeedback, intensity As Double)

Parameters

feedback
SimpleHapticsControllerFeedback

The type of haptic feedback.

intensity
Double

double

The strength of the haptic feedback based on the capability of the input device.

  • 0 disables haptic feedback
  • 1.0 is maximum strength
Attributes

Applies to