Lines Matching refs:x
368 ULONG *buttons, SLONG *x, SLONG *y, SLONG *w) in _wait_mouse_change() argument
373 SLONG x_bak = *x, y_bak = *y; in _wait_mouse_change()
382 ux_host_class_hid_mouse_position_get(hid_mouse, x, y); in _wait_mouse_change()
385 x_bak != *x || in _wait_mouse_change()
400 SLONG x = 0xFF, y = 0xFF; in test_hid_mouse_events() local
411 status |= ux_host_class_hid_mouse_position_get(hid_mouse, &x, &y); in test_hid_mouse_events()
415 UX_ASSERT(x == 0); in test_hid_mouse_events()
422 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
425 UX_ASSERT(x == 0); in test_hid_mouse_events()
432 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
435 UX_ASSERT(x == 0); in test_hid_mouse_events()
442 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
445 UX_ASSERT(x == -1); in test_hid_mouse_events()
452 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
455 UX_ASSERT(x == +7); in test_hid_mouse_events()
462 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
465 UX_ASSERT(x == 15); in test_hid_mouse_events()
474 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
477 UX_ASSERT(x == 13); in test_hid_mouse_events()