2022-10-19 17:42:05 +00:00
|
|
|
#pragma once
|
|
|
|
#include "fs/VFS.h"
|
|
|
|
|
|
|
|
namespace KeyboardDevice
|
|
|
|
{
|
|
|
|
VFS::Node* create_new(const char* devname);
|
|
|
|
|
|
|
|
ssize_t read(VFS::Node* node, size_t offset, size_t size, char* buffer);
|
|
|
|
|
2022-10-21 19:26:19 +00:00
|
|
|
int would_block(VFS::Node* node);
|
|
|
|
|
2022-10-19 17:42:05 +00:00
|
|
|
void append(char c);
|
|
|
|
}
|