Interface class for input devices. 更多...
#include <HoloLensInputInterface.h>
类 FHoloLensInputInterface 继承关系图:Public 成员函数 | |
| Windows::Gaming::Input::Gamepad | GetGamepadForControllerId (int32 ControllerId) |
| Platform-specific backdoor to get the FPlatformUserId from an XboxUserId 更多... | |
| int | GetUserIdForController (Windows::Gaming::Input::Gamepad^ Controller) |
| Platform-specific code can call this function to get the Gamepad^ associated with a UserId, if any. 更多... | |
| void | SendControllerEvents () |
| Poll for controller state and send events if needed. | |
| virtual void | SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value) override |
| Sets the strength/speed of the given channel for the given controller id. | |
| virtual void | SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &Values) override |
| Sets the strength/speed of all the channels for the given controller id. | |
| void | Tick (float DeltaTime) |
| Tick the interface (i.e check for new controllers) | |
Public 成员函数 继承自 IInputInterface | |
| virtual void | SetDeviceProperty (int32 ControllerId, const FInputDeviceProperty *Property) |
| Sets a property for a given controller id. 更多... | |
| virtual void | SetForceFeedbackChannelValue (int32 ControllerId, FForceFeedbackChannelType ChannelType, float Value)=0 |
| Sets the strength/speed of the given channel for the given controller id. 更多... | |
| virtual void | SetForceFeedbackChannelValues (int32 ControllerId, const FForceFeedbackValues &Values)=0 |
| Sets the strength/speed of all the channels for the given controller id. 更多... | |
| virtual void | SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values) |
| Sets the frequency and amplitude of haptic feedback channels for a given controller id. 更多... | |
| virtual | ~IInputInterface () |
| Virtual destructor. | |
Interface class for input devices.
| Windows::Gaming::Input::Gamepad FHoloLensInputInterface::GetGamepadForControllerId | ( | int32 | ControllerId | ) |
Platform-specific backdoor to get the FPlatformUserId from an XboxUserId
Platform-specific code can call this function to get the Controller^ associated with a ControllerIndex, if any.
| int FHoloLensInputInterface::GetUserIdForController | ( | Windows::Gaming::Input::Gamepad^ | Controller | ) |
Platform-specific code can call this function to get the Gamepad^ associated with a UserId, if any.
Platform-specific code can call this function to get the UserId associated with a Gamepad^, if any.