FHoloLensInputInterface::GetUserIdForController

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

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

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

Include

#include "HoloLens/HoloLensInputInterface.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/HoloLens/HoloLensInputInterface.cpp

Syntax

int GetUserIdForController
(
    Windows::Gaming::Input::Gamepad^ Controller
)

Remarks

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.

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