mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
keyboard: stub
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user