Function Get-Joystick-Param

Part of:

package glfw
( get-joystick-param < joy > < param > )
Parameters
joy
A joystick identifier, which should be GLFW_JOYSTICK_n, where n is in the range 1 to 16.
param
A token selecting which parameter the function should return (see table 3.5).
Return values
The function returns different parameters depending on the value of param. Table 3.5 lists valid param
values, and their corresponding return values.
Description
The function is used for acquiring various properties of a joystick.
Notes
The joystick information is updated every time the function is called.
No window has to be opened for joystick information to be valid.