From d261bcea8955358ebe8e0c7e7a04a6ac883d85bd Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 16 Aug 2020 20:15:55 +0200 Subject: Added scancode list and resolver --- kernel/features/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/features/event.c') diff --git a/kernel/features/event.c b/kernel/features/event.c index e91dcab..e6639e6 100644 --- a/kernel/features/event.c +++ b/kernel/features/event.c @@ -8,7 +8,7 @@ u32 (*event_table[])() = { [EVENT_KEYBOARD] = NULL, [EVENT_MOUSE] = NULL }; u32 event_map(enum event id, u32 (*function)()) { - printf("%x to %x\n", id, function); + // TODO: Support multiple events of same type if (id >= sizeof(event_table) / sizeof(*event_table)) return -1; -- cgit v1.2.3