Home
last modified time | relevance | path

Searched refs:hats (Results 1 - 6 of 6) sorted by relevance

/third_party/glfw/tests/
H A Djoysticks.c259 const unsigned char* hats; in main() local
269 hats = glfwGetJoystickHats(joysticks[i], &hat_count); in main()
289 hat_widget(nk, hats[j]); in main()
/third_party/glfw/src/
H A Dcocoa_joystick.h41 CFMutableArrayRef hats; member
H A Dlinux_joystick.h43 int hats[4][2]; member
H A Dinput.c478 js->hats[hat] = value; in _glfwInputJoystickHat()
525 js->hats = _glfw_calloc(hatCount, 1); in _glfwAllocJoystick()
543 _glfw_free(js->hats); in _glfwFreeJoystick()
1170 return js->hats; in glfwGetJoystickHats()
1446 if (js->hats[hat] & bit) in glfwGetGamepadState()
1465 if (js->hats[hat] & bit) in glfwGetGamepadState()
H A Dlinux_joystick.c74 int* state = js->linjs.hats[hat]; in handleAbsEvent()
H A Dinternal.h653 unsigned char* hats; member

Completed in 7 milliseconds