Home
last modified time | relevance | path

Searched refs:button_count (Results 1 - 3 of 3) sorted by relevance

/third_party/glfw/tests/
H A Djoysticks.c256 int j, axis_count, button_count, hat_count; in main() local
268 buttons = glfwGetJoystickButtons(joysticks[i], &button_count); in main()
272 button_count -= hat_count * 4; in main()
279 for (j = 0; j < button_count; j++) in main()
/third_party/libinput/src/
H A Dlibinput.c2253 return ++seat->button_count[key]; in update_seat_key_count()
2256 if (seat->button_count[key] == 0) in update_seat_key_count()
2259 return --seat->button_count[key]; in update_seat_key_count()
2274 return ++seat->button_count[button]; in update_seat_button_count()
2277 if (seat->button_count[button] == 0) in update_seat_button_count()
2280 return --seat->button_count[button]; in update_seat_button_count()
H A Dlibinput-private.h190 uint32_t button_count[KEY_CNT]; member

Completed in 12 milliseconds