...
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "kernel.h"
|
||||
#include "vga.h"
|
||||
#include "util.h"
|
||||
#include <stddef.h>
|
||||
|
||||
#define SCANCODE_LEFT_SHIFT 42
|
||||
#define SCANCODE_RIGHT_SHIFT 54
|
||||
@@ -31,7 +32,7 @@ bool caps_lock = false;
|
||||
|
||||
// todo(nub): make dynamic when a memory allocator is implemented
|
||||
static keyboard_handler_t keyboard_handlers[KEYBOARD_HANDLERS_LENGTH];
|
||||
static int handler_index = 0;
|
||||
static size_t handler_index = 0;
|
||||
|
||||
char scan_code_to_ascii(uint8_t scan_code)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user