diff options
author | Marvin Borner | 2020-08-16 20:15:55 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-16 20:15:55 +0200 |
commit | d261bcea8955358ebe8e0c7e7a04a6ac883d85bd (patch) | |
tree | 7f37a96ac9d5b7cb92933cc807c52613161cd6cc /apps/wm.c | |
parent | 0dd3f5e6f4f7607611ce23510858ab3597b5df9f (diff) |
Added scancode list and resolver
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,13 +3,17 @@ #include <cpu.h> #include <def.h> #include <gui.h> +#include <input.h> #include <print.h> #include <sys.h> #include <vesa.h> -void onkey() +void onkey(u32 scancode) { - printf("KEY EVENT\n"); + printf("KEY EVENT %d\n", scancode); + if (KEY_ALPHANUMERIC(scancode)) { + printf("ALPHANUMERIC!\n"); + } } void main(char **argv) |