|
Kintsugi OS 0.5.0
x86 Monolithic OS
|
#include "keyboard.h"#include "../cpu/isr.h"#include "../kklibc/function.h"#include "lowlevel_io.h"Macros | |
| #define | EVENT_COUNT 128 |
Functions | |
| static void | enqueue (int key) |
| static void | keyboard_callback (registers_t registers) |
| int | keyboard_read_event (void) |
| void | init_keyboard (void) |
Variables | |
| static int | events [EVENT_COUNT] |
| static volatile u32 | head |
| static volatile u32 | tail |
| static u8 | shifts |
| static u8 | caps |
| static u8 | control |
| static u8 | extended |
| static const char | lower [] = "??1234567890-=??qwertyuiop[]??asdfghjkl;'`?\\zxcvbnm,./??? " |
| static const char | upper [] = "?" "?!@#$%^&*()_+??QWERTYUIOP{}??ASDFGHJKL:\"~?|ZXCVBNM<>???? " |
| #define EVENT_COUNT 128 |
|
static |
| void init_keyboard | ( | void | ) |
|
static |
| int keyboard_read_event | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |