16 lines
214 B
C
16 lines
214 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stdint.h>
|
||
|
#include <keycodes.h>
|
||
|
|
||
|
struct Keycode {
|
||
|
uint8_t key;
|
||
|
uint8_t flags;
|
||
|
};
|
||
|
|
||
|
void ps2kb_init(void);
|
||
|
|
||
|
void ps2kb_recv(void);
|
||
|
struct Keycode ps2kb_get(void);
|