Searched refs:buttonCount (Results 1 – 6 of 6) sorted by relevance
8 var buttonCount = buttons.length;10 if (buttonCount > 0) {11 var acceptButton = buttons[buttonCount - 1];
51 char axisCount, buttonCount; in openJoystickDevice() local100 ioctl(fd, JSIOCGBUTTONS, &buttonCount); in openJoystickDevice()101 js->buttonCount = (int) buttonCount; in openJoystickDevice()102 js->buttons = calloc(buttonCount, 1); in openJoystickDevice()329 *count = js->buttonCount; in _glfwPlatformGetJoystickButtons()
51 int buttonCount; member316 object->offset = DIJOFS_BUTTON(data->buttonCount); in deviceObjectCallback()318 data->buttonCount++; in deviceObjectCallback()434 js->buttonCount += data.buttonCount + data.povCount * 4; in deviceCallback()435 js->buttons = calloc(js->buttonCount, 1); in deviceCallback()479 js->buttonCount = 14; in openXinputDevice()480 js->buttons = calloc(js->buttonCount, 1); in openXinputDevice()751 *count = js->buttonCount; in _glfwPlatformGetJoystickButtons()
44 int buttonCount; member
49 int buttonCount; member
458 int axisCount, buttonCount; in joystick_callback() local461 glfwGetJoystickButtons(joy, &buttonCount); in joystick_callback()468 buttonCount); in joystick_callback()