Home
last modified time | relevance | path

Searched refs:buttonCount (Results 1 - 5 of 5) sorted by relevance

/third_party/glfw/src/
H A Dlinux_joystick.c191 int axisCount = 0, buttonCount = 0, hatCount = 0; in openJoystickDevice() local
198 linjs.keyMap[code - BTN_MISC] = buttonCount; in openJoystickDevice()
199 buttonCount++; in openJoystickDevice()
226 _glfwAllocJoystick(name, guid, axisCount, buttonCount, hatCount); in openJoystickDevice()
H A Dinput.c90 else if (e->type == _GLFW_JOYSTICK_BUTTON && e->index >= js->buttonCount) in isValidElementForJoystick()
449 assert(button < js->buttonCount); in _glfwInputJoystickButton()
471 base = js->buttonCount + hat * 4; in _glfwInputJoystickHat()
506 int buttonCount, in _glfwAllocJoystick()
524 js->buttons = _glfw_calloc(buttonCount + (size_t) hatCount * 4, 1); in _glfwAllocJoystick()
527 js->buttonCount = buttonCount; in _glfwAllocJoystick()
1134 *count = js->buttonCount + js->hatCount * 4; in glfwGetJoystickButtons()
1136 *count = js->buttonCount; in glfwGetJoystickButtons()
503 _glfwAllocJoystick(const char* name, const char* guid, int axisCount, int buttonCount, int hatCount) _glfwAllocJoystick() argument
H A Dwin32_joystick.c49 int buttonCount; member
329 object->offset = DIJOFS_BUTTON(data->buttonCount); in deviceObjectCallback()
331 data->buttonCount++; in deviceObjectCallback()
471 data.buttonCount, in deviceCallback()
H A Dinternal.h652 int buttonCount; member
985 int buttonCount,
/third_party/glfw/tests/
H A Devents.c510 int axisCount, buttonCount, hatCount; in joystick_callback() local
513 glfwGetJoystickButtons(jid, &buttonCount); in joystick_callback()
521 buttonCount, in joystick_callback()

Completed in 7 milliseconds