Home
last modified time | relevance | path

Searched refs:buttons (Results 1 – 1 of 1) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_class_hid_mouse_basic_test.c368 ULONG *buttons, SLONG *x, SLONG *y, SLONG *w) in _wait_mouse_change() argument
372 ULONG buttons_bak = *buttons; in _wait_mouse_change()
381 ux_host_class_hid_mouse_buttons_get(hid_mouse, buttons); in _wait_mouse_change()
384 if (buttons_bak != *buttons || in _wait_mouse_change()
399 ULONG buttons = 0; in test_hid_mouse_events() local
410 status = ux_host_class_hid_mouse_buttons_get(hid_mouse, &buttons); in test_hid_mouse_events()
414 UX_ASSERT(buttons == 0); in test_hid_mouse_events()
422 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
424 UX_ASSERT(buttons == 1); in test_hid_mouse_events()
432 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
[all …]