Home
last modified time | relevance | path

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

/USBX-v6.2.1/test/regression/
Dusbx_class_hid_mouse_basic_test.c381 ux_host_class_hid_mouse_buttons_get(hid_mouse, buttons); in _wait_mouse_change()
382 ux_host_class_hid_mouse_position_get(hid_mouse, x, y); in _wait_mouse_change()
383 ux_host_class_hid_mouse_wheel_get(hid_mouse, w); in _wait_mouse_change()
410 status = ux_host_class_hid_mouse_buttons_get(hid_mouse, &buttons); in test_hid_mouse_events()
411 status |= ux_host_class_hid_mouse_position_get(hid_mouse, &x, &y); in test_hid_mouse_events()
412 status |= ux_host_class_hid_mouse_wheel_get(hid_mouse, &wheel); in test_hid_mouse_events()
422 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
432 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
442 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
452 status = _wait_mouse_change(hid_mouse, &buttons, &x, &y, &wheel); in test_hid_mouse_events()
[all …]
Dusbx_test_common_hid.h47 static UX_HOST_CLASS_HID_MOUSE *hid_mouse; variable
126 hid_mouse = (UX_HOST_CLASS_HID_MOUSE *)hid_client -> ux_host_class_hid_client_local_instance; in demo_class_hid_mouse_get()
127 if (hid_mouse == UX_NULL) in demo_class_hid_mouse_get()
131 if (hid_mouse -> ux_host_class_hid_mouse_state != UX_HOST_CLASS_INSTANCE_LIVE) in demo_class_hid_mouse_get()
Dusbx_ux_device_class_hid_report_test.c185 static UX_HOST_CLASS_HID_MOUSE *hid_mouse = UX_NULL; variable
219hid_mouse = (UX_HOST_CLASS_HID_MOUSE *)client->ux_host_class_hid_client_local_instance; in ux_system_host_change_function()
226 hid_mouse = UX_NULL; in ux_system_host_change_function()
273 if (hid_mouse == UX_NULL) in break_on_all_activated()
286 if (hid_mouse || hid_keyboard) in break_on_all_removed()
495 …transfer_request -> ux_transfer_request_index = hid_mouse->ux_host_class_hid_mouse_hid… in tx_demo_thread_host_simulation_entry()
588 …transfer_request -> ux_transfer_request_index = hid_mouse->ux_host_class_hid_mouse_hid… in tx_demo_thread_host_simulation_entry()
604 …transfer_request -> ux_transfer_request_index = hid_mouse->ux_host_class_hid_mouse_hid… in tx_demo_thread_host_simulation_entry()
622 …transfer_request -> ux_transfer_request_index = hid_mouse->ux_host_class_hid_mouse_hid… in tx_demo_thread_host_simulation_entry()
648 …transfer_request -> ux_transfer_request_index = hid_mouse->ux_host_class_hid_mouse_hid… in tx_demo_thread_host_simulation_entry()
Dusbx_class_hid_basic_memory_test.c233 static UX_HOST_CLASS_HID_MOUSE *hid_mouse = UX_NULL; variable
277hid_mouse = (UX_HOST_CLASS_HID_MOUSE *)client->ux_host_class_hid_client_local_instance; in ux_system_host_change_function()
289 hid_mouse = UX_NULL; in ux_system_host_change_function()
352 if (hid_mouse == UX_NULL) in break_on_all_activated()
367 if (hid_mouse || hid_keyboard || hid_remote_control) in break_on_all_removed()
705 if (hid_keyboard || hid_mouse) in tx_demo_thread_host_simulation_entry()
740 if (hid_mouse == UX_NULL in tx_demo_thread_host_simulation_entry()
746 printf("ERROR #%d: %p %p\n", __LINE__, hid_keyboard, hid_mouse); in tx_demo_thread_host_simulation_entry()
801 …if (hid_mouse && hid_keyboard && hid_mouse_slave && hid_keyboard_slave && hid_remote_control && hi… in tx_demo_thread_host_simulation_entry()
Dusbx_ux_device_class_hid_receiver_memory_test.c233 static UX_HOST_CLASS_HID_MOUSE *hid_mouse = UX_NULL; variable
271hid_mouse = (UX_HOST_CLASS_HID_MOUSE *)client->ux_host_class_hid_client_local_instance; in ux_system_host_change_function()
283 hid_mouse = UX_NULL; in ux_system_host_change_function()
346 if (hid_mouse == UX_NULL) in break_on_all_activated()
361 if (hid_mouse || hid_keyboard || hid_remote_control) in break_on_all_removed()
700 if (hid_keyboard || hid_mouse) in tx_demo_thread_host_simulation_entry()
735 if (hid_mouse == UX_NULL in tx_demo_thread_host_simulation_entry()
741 printf("ERROR #%d: %p %p\n", __LINE__, hid_keyboard, hid_mouse); in tx_demo_thread_host_simulation_entry()
796 …if (hid_mouse && hid_keyboard && hid_mouse_slave && hid_keyboard_slave && hid_remote_control && hi… in tx_demo_thread_host_simulation_entry()
Dusbx_ux_device_class_hid_basic_memory_test.c233 static UX_HOST_CLASS_HID_MOUSE *hid_mouse = UX_NULL; variable
271hid_mouse = (UX_HOST_CLASS_HID_MOUSE *)client->ux_host_class_hid_client_local_instance; in ux_system_host_change_function()
283 hid_mouse = UX_NULL; in ux_system_host_change_function()
346 if (hid_mouse == UX_NULL) in break_on_all_activated()
361 if (hid_mouse || hid_keyboard || hid_remote_control) in break_on_all_removed()
699 if (hid_keyboard || hid_mouse) in tx_demo_thread_host_simulation_entry()
734 if (hid_mouse == UX_NULL in tx_demo_thread_host_simulation_entry()
740 printf("ERROR #%d: %p %p\n", __LINE__, hid_keyboard, hid_mouse); in tx_demo_thread_host_simulation_entry()
795 …if (hid_mouse && hid_keyboard && hid_mouse_slave && hid_keyboard_slave && hid_remote_control && hi… in tx_demo_thread_host_simulation_entry()