glfw.GetJoystickButtons -- get states of all joystick buttons (V1.1)
t, count = glfw.GetJoystickButtons(port)
This function returns the states of all buttons of the specified joystick in a table. Each element in the
table is either True if the button is pressed or False if it isn't pressed. The port argument must be set
to a valid joystick identifier between #GLFW_JOYSTICK_1 and #GLFW_JOYSTICK_16.