October3d55/M/PICOOpenXR/Source/PICOOpenXRInput/Private/PICO_InputFunctionLibrary.cpp

10 lines
322 B
C++
Raw Normal View History

2025-07-21 10:22:56 +08:00
// Copyright 2023 PICO Inc. All Rights Reserved.
#include "PICO_InputFunctionLibrary.h"
#include "PICO_InputModule.h"
bool UInputFunctionLibraryPICO::GetControllerBatteryLevelPICO(const EControllerHand Hand, float& Level)
{
return FPICOOpenXRInputModule::Get().GetController().GetControllerBatteryLevel(Hand, Level);
}