| /USBX-v6.2.1/common/usbx_host_classes/src/ |
| D | ux_host_class_hid_keyboard_key_get.c | 76 ULONG *keyboard_key, ULONG *keyboard_state) in _ux_host_class_hid_keyboard_key_get() argument 109 *keyboard_key = *array_tail; in _ux_host_class_hid_keyboard_key_get() 165 ULONG *keyboard_key, ULONG *keyboard_state) in _uxe_host_class_hid_keyboard_key_get() argument 170 (keyboard_key == UX_NULL) || (keyboard_state == UX_NULL) || in _uxe_host_class_hid_keyboard_key_get() 171 (keyboard_key == keyboard_state)) in _uxe_host_class_hid_keyboard_key_get() 175 return(_ux_host_class_hid_keyboard_key_get(keyboard_instance, keyboard_key, keyboard_state)); in _uxe_host_class_hid_keyboard_key_get()
|
| /USBX-v6.2.1/test/regression/ |
| D | usbx_ux_host_class_hid_keyboard_ioctl_test.c | 358 static UINT _wait_key(UX_HOST_CLASS_HID_KEYBOARD *keyboard, ULONG *keyboard_key, ULONG *keyboard_s… in _wait_key() argument 367 status = ux_host_class_hid_keyboard_key_get(keyboard, keyboard_key, keyboard_state); in _wait_key() 392 ULONG keyboard_key; in tx_demo_thread_host_simulation_entry() local 418 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 424 if (keyboard_key != 'a') in tx_demo_thread_host_simulation_entry() 426 printf("ERROR #%d: key 0x%x (%c)\n", __LINE__, status, (UCHAR)keyboard_key); in tx_demo_thread_host_simulation_entry() 444 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 450 if (keyboard_key != 'A') in tx_demo_thread_host_simulation_entry() 452 printf("ERROR #%d: key 0x%x (%c)\n", __LINE__, status, (UCHAR)keyboard_key); in tx_demo_thread_host_simulation_entry() 470 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_hid_keyboard_key_test.c | 385 static UINT _wait_key(UX_HOST_CLASS_HID_KEYBOARD *keyboard, ULONG *keyboard_key, ULONG *keyboard_s… in _wait_key() argument 394 status = ux_host_class_hid_keyboard_key_get(keyboard, keyboard_key, keyboard_state); in _wait_key() 444 ULONG keyboard_key; in tx_demo_thread_host_simulation_entry() local 483 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 492 if (keyboard_key != expected_key) in tx_demo_thread_host_simulation_entry() 516 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 526 if (keyboard_key != expected_key) in tx_demo_thread_host_simulation_entry() 529 …d, state 0x%lx, key 0x%lx <> 0x%lx\n", __LINE__, n, i, keyboard_state, expected_key, keyboard_key); in tx_demo_thread_host_simulation_entry() 547 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 556 if (keyboard_key != ux_host_class_hid_keyboard_numlock_on_array[i]) in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_hid_keyboard_key_with_report_id_test.c | 345 ULONG keyboard_key; in tx_demo_thread_host_simulation_entry() local 376 … while (ux_host_class_hid_keyboard_key_get(keyboard, &keyboard_key, &keyboard_state) != UX_SUCCESS) in tx_demo_thread_host_simulation_entry() 381 if (keyboard_key != expected_key) in tx_demo_thread_host_simulation_entry() 400 … while (ux_host_class_hid_keyboard_key_get(keyboard, &keyboard_key, &keyboard_state) != UX_SUCCESS) in tx_demo_thread_host_simulation_entry() 405 if (keyboard_key != expected_key) in tx_demo_thread_host_simulation_entry() 424 … while (ux_host_class_hid_keyboard_key_get(keyboard, &keyboard_key, &keyboard_state) != UX_SUCCESS) in tx_demo_thread_host_simulation_entry() 429 if (keyboard_key != expected_key) in tx_demo_thread_host_simulation_entry() 444 … while (ux_host_class_hid_keyboard_key_get(keyboard, &keyboard_key, &keyboard_state) != UX_SUCCESS) in tx_demo_thread_host_simulation_entry() 449 if (keyboard_key != ux_host_class_hid_keyboard_numlock_on_array[i]) in tx_demo_thread_host_simulation_entry() 462 … while (ux_host_class_hid_keyboard_key_get(keyboard, &keyboard_key, &keyboard_state) != UX_SUCCESS) in tx_demo_thread_host_simulation_entry() [all …]
|
| D | usbx_class_hid_keyboard_basic_test.c | 367 static UINT _wait_key(UX_HOST_CLASS_HID_KEYBOARD *keyboard, ULONG *keyboard_key, ULONG *keyboard_s… in _wait_key() argument 379 status = ux_host_class_hid_keyboard_key_get(keyboard, keyboard_key, keyboard_state); in _wait_key() 404 ULONG keyboard_key; in test_hid_keyboard_keys() local 418 status = _wait_key(hid_keyboard, &keyboard_key, &keyboard_state); in test_hid_keyboard_keys() 421 UX_TEST_ASSERT(keyboard_key == 'a'); in test_hid_keyboard_keys() 427 status = _wait_key(hid_keyboard, &keyboard_key, &keyboard_state); in test_hid_keyboard_keys() 430 UX_TEST_ASSERT(keyboard_key == 'B'); in test_hid_keyboard_keys() 439 status = _wait_key(hid_keyboard, &keyboard_key, &keyboard_state); in test_hid_keyboard_keys() 442 UX_TEST_ASSERT(keyboard_key == 'C'); in test_hid_keyboard_keys()
|
| D | usbx_test_USBX_141_keyboard_layout.c | 423 static UINT _wait_key(UX_HOST_CLASS_HID_KEYBOARD *keyboard, ULONG *keyboard_key, ULONG *keyboard_s… in _wait_key() argument 431 … if (ux_host_class_hid_keyboard_key_get(keyboard, keyboard_key, keyboard_state) == UX_SUCCESS) in _wait_key() 447 ULONG keyboard_key; in tx_demo_thread_host_simulation_entry() local 494 status = _wait_key(keyboard, &keyboard_key, &keyboard_state); in tx_demo_thread_host_simulation_entry() 500 if ((UCHAR)keyboard_key != expected_keys[i][j]) in tx_demo_thread_host_simulation_entry() 503 (UCHAR)keyboard_key, (UCHAR)keyboard_key, in tx_demo_thread_host_simulation_entry() 507 … printf("state: 0x%4lx, key: 0x%2lx (%c)\n", keyboard_state, keyboard_key, (char)keyboard_key); in tx_demo_thread_host_simulation_entry()
|
| /USBX-v6.2.1/common/usbx_host_classes/inc/ |
| D | ux_host_class_hid_keyboard.h | 259 ULONG *keyboard_key, ULONG *keyboard_state); 267 ULONG *keyboard_key, ULONG *keyboard_state);
|