FHoloLensInputInterface

Interface class for input devices.

Windows
MacOS
Linux

Inheritance Hierarchy

IInputInterface

FHoloLensInputInterface

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/HoloLens/HoloLensInputInterface.h

Include

#include "HoloLens/HoloLensInputInterface.h"

Syntax

class FHoloLensInputInterface : public IInputInterface

Remarks

Interface class for input devices.

Constructors

No constructors are accessible with public or protected access.

Destructors

Name Description

Public function

~FHoloLensInputInterface()

Functions

Name Description

Public function Static

TSharedRef< ...

 

Create

(
    const TSharedRef< FGenericApplicati...
)

Public function

Windows::Gam...

 

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.

Public function

int

 

GetUserIdForController

(
    Windows::Gaming::Input::Gamepad^ Co...
)

Platform-specific code can call this function to get the Gamepad^ associated with a UserId, if any.

Public function

void

 

SendControllerEvents()

Poll for controller state and send events if needed.

Public function

void

 

SetMessageHandler

(
    const TSharedRef< FGenericApplicati...
)

Public function

void

 

Tick

(
    float DeltaTime
)

Tick the interface (i.e check for new controllers)

Overridden from IInputInterface

Name Description

Public function Virtual

void

 

ResetLightColor

(
    int32 ControllerId
)

Resets the light color for the given controller. Ignored if controller does not support a color.

Public function Virtual

void

 

SetForceFeedbackChannelValue

(
    int32 ControllerId,
    FForceFeedbackChannelType ChannelTy...,
    float Value
)

Sets the strength/speed of the given channel for the given controller id.

Public function Virtual

void

 

SetForceFeedbackChannelValues

(
    int32 ControllerId,
    const FForceFeedbackValues& Values
)

Sets the strength/speed of all the channels for the given controller id.

Public function Virtual

void

 

SetLightColor

(
    int32 ControllerId,
    FColor Color
)

Ignored if controller does not support a color.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss