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
This commit is contained in:
hathach
2013-04-27 00:24:15 +07:00
parent 33feba5cbc
commit 8bd077fa5c
5 changed files with 101 additions and 31 deletions
+2 -2
View File
@@ -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}
}
};