Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_mouse_callback.c78 UX_HOST_CLASS_HID_MOUSE *mouse_instance; in _ux_host_class_hid_mouse_callback() local
84mouse_instance = (UX_HOST_CLASS_HID_MOUSE *) hid_client -> ux_host_class_hid_client_local_instanc… in _ux_host_class_hid_mouse_callback()
95mouse_instance -> ux_host_class_hid_mouse_x_position += (SCHAR) callback -> ux_host_class_hid_repo… in _ux_host_class_hid_mouse_callback()
102mouse_instance -> ux_host_class_hid_mouse_y_position += (SCHAR) callback -> ux_host_class_hid_rep… in _ux_host_class_hid_mouse_callback()
110mouse_instance -> ux_host_class_hid_mouse_buttons |= UX_HOST_CLASS_HID_MOUSE_BUTTON_1_PRESSED; in _ux_host_class_hid_mouse_callback()
112mouse_instance -> ux_host_class_hid_mouse_buttons &= (ULONG)~UX_HOST_CLASS_HID_MOUSE_BUTTON_1_PRE… in _ux_host_class_hid_mouse_callback()
119mouse_instance -> ux_host_class_hid_mouse_buttons |= UX_HOST_CLASS_HID_MOUSE_BUTTON_2_PRESSED; in _ux_host_class_hid_mouse_callback()
121mouse_instance -> ux_host_class_hid_mouse_buttons &= (ULONG)~UX_HOST_CLASS_HID_MOUSE_BUTTON_2_PRE… in _ux_host_class_hid_mouse_callback()
128mouse_instance -> ux_host_class_hid_mouse_buttons |= UX_HOST_CLASS_HID_MOUSE_BUTTON_3_PRESSED; in _ux_host_class_hid_mouse_callback()
130mouse_instance -> ux_host_class_hid_mouse_buttons &= (ULONG)~UX_HOST_CLASS_HID_MOUSE_BUTTON_3_PRE… in _ux_host_class_hid_mouse_callback()
[all …]
Dux_host_class_hid_mouse_activate.c95 UX_HOST_CLASS_HID_MOUSE *mouse_instance; in _ux_host_class_hid_mouse_activate() local
111 mouse_instance = &client_mouse -> ux_host_class_hid_client_mouse_mouse; in _ux_host_class_hid_mouse_activate()
116 hid_client -> ux_host_class_hid_client_local_instance = (VOID *) mouse_instance; in _ux_host_class_hid_mouse_activate()
119 mouse_instance -> ux_host_class_hid_mouse_hid = hid; in _ux_host_class_hid_mouse_activate()
124 mouse_instance -> ux_host_class_hid_mouse_state = UX_HOST_CLASS_INSTANCE_MOUNTING; in _ux_host_class_hid_mouse_activate()
137mouse_instance -> ux_host_class_hid_mouse_id = (USHORT)report_id.ux_host_class_hid_report_get_id; in _ux_host_class_hid_mouse_activate()
140 mouse_instance -> ux_host_class_hid_mouse_enum_state = UX_STATE_WAIT; in _ux_host_class_hid_mouse_activate()
150 mouse_instance -> ux_host_class_hid_mouse_state = UX_HOST_CLASS_INSTANCE_LIVE; in _ux_host_class_hid_mouse_activate()
163mouse_instance -> ux_host_class_hid_mouse_id = (USHORT)report_id.ux_host_class_hid_report_get_id; in _ux_host_class_hid_mouse_activate()
166 status = _ux_host_class_hid_idle_set(hid, 0, mouse_instance -> ux_host_class_hid_mouse_id); in _ux_host_class_hid_mouse_activate()
[all …]
Dux_host_class_hid_mouse_position_get.c75 UINT _ux_host_class_hid_mouse_position_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _ux_host_class_hid_mouse_position_get() argument
83 hid = mouse_instance -> ux_host_class_hid_mouse_hid; in _ux_host_class_hid_mouse_position_get()
99 *mouse_x_position = mouse_instance -> ux_host_class_hid_mouse_x_position; in _ux_host_class_hid_mouse_position_get()
102 *mouse_y_position = mouse_instance -> ux_host_class_hid_mouse_y_position; in _ux_host_class_hid_mouse_position_get()
147 UINT _uxe_host_class_hid_mouse_position_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _uxe_host_class_hid_mouse_position_get() argument
153 if ((mouse_instance == UX_NULL) || in _uxe_host_class_hid_mouse_position_get()
161 return(_ux_host_class_hid_mouse_position_get(mouse_instance, in _uxe_host_class_hid_mouse_position_get()
Dux_host_class_hid_mouse_buttons_get.c73 UINT _ux_host_class_hid_mouse_buttons_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _ux_host_class_hid_mouse_buttons_get() argument
80 hid = mouse_instance -> ux_host_class_hid_mouse_hid; in _ux_host_class_hid_mouse_buttons_get()
96 *mouse_buttons = mouse_instance -> ux_host_class_hid_mouse_buttons; in _ux_host_class_hid_mouse_buttons_get()
140 UINT _uxe_host_class_hid_mouse_buttons_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _uxe_host_class_hid_mouse_buttons_get() argument
145 if ((mouse_instance == UX_NULL) || (mouse_buttons == UX_NULL)) in _uxe_host_class_hid_mouse_buttons_get()
149 return(_ux_host_class_hid_mouse_buttons_get(mouse_instance, mouse_buttons)); in _uxe_host_class_hid_mouse_buttons_get()
Dux_host_class_hid_mouse_wheel_get.c73 UINT _ux_host_class_hid_mouse_wheel_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _ux_host_class_hid_mouse_wheel_get() argument
80 hid = mouse_instance -> ux_host_class_hid_mouse_hid; in _ux_host_class_hid_mouse_wheel_get()
96 *mouse_wheel_movement = (SLONG)(mouse_instance -> ux_host_class_hid_mouse_wheel); in _ux_host_class_hid_mouse_wheel_get()
140 UINT _uxe_host_class_hid_mouse_wheel_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance, in _uxe_host_class_hid_mouse_wheel_get() argument
145 if ((mouse_instance == UX_NULL) || (mouse_wheel_movement == UX_NULL)) in _uxe_host_class_hid_mouse_wheel_get()
149 return(_ux_host_class_hid_mouse_wheel_get(mouse_instance, mouse_wheel_movement)); in _uxe_host_class_hid_mouse_wheel_get()
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_hid_mouse.h129 UINT _ux_host_class_hid_mouse_buttons_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,
131 UINT _ux_host_class_hid_mouse_position_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,
134 UINT _ux_host_class_hid_mouse_wheel_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,
137 UINT _uxe_host_class_hid_mouse_buttons_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,
139 UINT _uxe_host_class_hid_mouse_position_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,
142 UINT _uxe_host_class_hid_mouse_wheel_get(UX_HOST_CLASS_HID_MOUSE *mouse_instance,