summaryrefslogtreecommitdiff
path: root/kernel/src/drivers/ps2kb.h
blob: 1aaefb2aba43a66d1c5b32cbcfd20d369050069a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);