diff options
| author | hathach <[email protected]> | 2013-04-27 00:24:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-27 00:24:15 +0700 |
| commit | 8bd077fa5c21ade1aa791b0339b66e637ad894e5 (patch) | |
| tree | d2b334ebcd6b36b4a31d7318c7c1092a3af82121 /tests/test/host | |
| parent | 33feba5cbc7a344f1bac67508e5658aa615e59bf (diff) | |
fix bug (wrong logic) with osal_task_delay in non OS configure
complete keyboard app with key state & event TODO handle & check for non-printable(control) keycode
add unit test for osal_task_delay for non OS
Diffstat (limited to 'tests/test/host')
| -rw-r--r-- | tests/test/host/hid/test_hidh_keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/host/hid/test_hidh_keyboard.c b/tests/test/host/hid/test_hidh_keyboard.c index fa15f221b..b1fc6e381 100644 --- a/tests/test/host/hid/test_hidh_keyboard.c +++ b/tests/test/host/hid/test_hidh_keyboard.c @@ -53,11 +53,11 @@ tusb_keyboard_report_t sample_key[2] = { { .modifier = KEYBOARD_MODIFIER_LEFTCTRL, - .keycode = {KEYBOARD_KEYCODE_a} + .keycode = {4}//{KEYBOARD_KEYCODE_a} TODO ascii to key code table }, { .modifier = KEYBOARD_MODIFIER_RIGHTALT, - .keycode = {KEYBOARD_KEYCODE_z} + .keycode = {5}//{KEYBOARD_KEYCODE_z} } }; |
