game_control
LLEvents:on("game_control", function(id: string, buttons: number, axes: {any}) -- ...end)This event is raised when game controller input changes.
Parameters
-
id(string) - UUID of avatar supplying input
-
buttons(number) - 32-bit mask of buttons pressed
-
axes({any}) - Six float values in range [-1, 1]
Examples
Section titled “Examples”Add example usage here showing how to handle the game_control event in SLua/Luau.
Add additional notes, caveats, or tips specific to using this event in SLua/Luau.
See Also
Section titled “See Also”- Related events and functions can be linked here
- LSL equivalent: game_control