keyboard: device creation + poll and read

This commit is contained in:
Matheus
2023-07-11 21:31:45 -03:00
parent 4d30622e1e
commit b7fee572cb
3 changed files with 100 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@
#define DEV_MAJOR_ZERO 3
#define DEV_MAJOR_CONSOLE 4
#define DEV_MAJOR_FB 5
#define DEV_MAJOR_KEYBOARD 6
typedef struct {
int (*open)(int minor, int flags);