Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_keyboard_entry.c154 UX_HOST_CLASS_HID_KEYBOARD *keyboard; in _ux_host_class_hid_keyboard_activate_wait() local
164 keyboard = (UX_HOST_CLASS_HID_KEYBOARD *) hid_client -> ux_host_class_hid_client_local_instance; in _ux_host_class_hid_keyboard_activate_wait()
167 switch(keyboard -> ux_host_class_hid_keyboard_enum_state) in _ux_host_class_hid_keyboard_activate_wait()
174 keyboard -> ux_host_class_hid_keyboard_out_state = UX_STATE_WAIT; in _ux_host_class_hid_keyboard_activate_wait()
175 keyboard -> ux_host_class_hid_keyboard_enum_state = in _ux_host_class_hid_keyboard_activate_wait()
177 keyboard -> ux_host_class_hid_keyboard_next_state = in _ux_host_class_hid_keyboard_activate_wait()
184 if (keyboard -> ux_host_class_hid_keyboard_out_state != UX_STATE_WAIT) in _ux_host_class_hid_keyboard_activate_wait()
186 if (keyboard -> ux_host_class_hid_keyboard_status != UX_SUCCESS) in _ux_host_class_hid_keyboard_activate_wait()
187 keyboard -> ux_host_class_hid_keyboard_enum_state = in _ux_host_class_hid_keyboard_activate_wait()
190 keyboard -> ux_host_class_hid_keyboard_enum_state = in _ux_host_class_hid_keyboard_activate_wait()
[all …]
Dux_host_class_hid_keyboard_tasks_run.c83 UX_HOST_CLASS_HID_KEYBOARD *keyboard; in _ux_host_class_hid_keyboard_tasks_run() local
95 keyboard = (UX_HOST_CLASS_HID_KEYBOARD *)client -> ux_host_class_hid_client_local_instance; in _ux_host_class_hid_keyboard_tasks_run()
96 if (keyboard == UX_NULL) in _ux_host_class_hid_keyboard_tasks_run()
100 hid = keyboard -> ux_host_class_hid_keyboard_hid; in _ux_host_class_hid_keyboard_tasks_run()
105 if (keyboard -> ux_host_class_hid_keyboard_out_state != UX_STATE_WAIT) in _ux_host_class_hid_keyboard_tasks_run()
110 keyboard -> ux_host_class_hid_keyboard_led_mask = in _ux_host_class_hid_keyboard_tasks_run()
111 keyboard -> ux_host_class_hid_keyboard_alternate_key_state & in _ux_host_class_hid_keyboard_tasks_run()
115 if (keyboard -> ux_host_class_hid_keyboard_out_report == UX_NULL) in _ux_host_class_hid_keyboard_tasks_run()
123 keyboard -> ux_host_class_hid_keyboard_status = status; in _ux_host_class_hid_keyboard_tasks_run()
126keyboard -> ux_host_class_hid_keyboard_out_report = report_id.ux_host_class_hid_report_get_report; in _ux_host_class_hid_keyboard_tasks_run()
[all …]