Class: VrController
Lua
C++
Edit

VrController::ButtonHit

This method gets the button hit state.

Syntax

Parameter Description
button can be any of the values in the list below, or any number from 0 to 63

Generic Buttons

Valve Index Controller Buttons

HTC Vive controller

Returns

Returns true if the specified button has been pressed since the last call to this method, otherwise false is returned.

Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation