Name
glfw.GetJoystickAxes -- get states of all joystick axes (V1.1)
Synopsis
t, count = glfw.GetJoystickAxes(port)
Function
This function returns the values of all axes of the specified joystick in a table. Each element in the table is a value between -1.0 and 1.0. The port argument must be set to a valid joystick identifier between #GLFW_JOYSTICK_1 and #GLFW_JOYSTICK_16.

Inputs
port
the joystick port to query
Results
t
table containing axes data
count
number of entries in table

Show TOC