keyboard: stub

This commit is contained in:
Matheus
2022-09-07 16:11:24 -03:00
parent 2f691d8051
commit 2586acc14f
3 changed files with 93 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef _KEYBOARD_H_INCLUDE
#define _KEYBOARD_H_INCLUDE
#include <ringbuffer.h>
#include <kernel/event.h>
typedef struct {
ringbuffer_t buffer;
event_t event;
int flags;
} keyboard_t;
typedef struct {
char ascii;
uintmax_t keycode;
int flags;
} kbpacket_t;
void keyboard_init();
int keyboard_getnew();
#endif