mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-11-22 19:33:46 +00:00
Enable output hook in main()
This commit is contained in:
parent
0727621c19
commit
346784bd6b
@ -72,10 +72,9 @@ int main(void)
|
||||
asdf_keycode_t code = asdf_next_code();
|
||||
|
||||
if (code != ASDF_INVALID_CODE) {
|
||||
asdf_arch_send_code(code);
|
||||
// void (*output_function)(asdf_keycode_t) =
|
||||
// (void (*)(asdf_keycode_t)) asdf_hook_get(ASDF_HOOK_OUTPUT);
|
||||
//(*output_function)(code);
|
||||
void (*output_function)(asdf_keycode_t) =
|
||||
(void (*)(asdf_keycode_t)) asdf_hook_get(ASDF_HOOK_OUTPUT);
|
||||
(*output_function)(code);
|
||||
}
|
||||
asdf_keyscan();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user