summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/driver/ps2.h
blob: 1bbc2f1e9dc01f8a8c0512cc787b130142e5a23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <kernel/vfs/request.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

bool	ps2_ready(void);
void	ps2_recv(uint8_t scancode);
size_t	ps2_read(uint8_t *buf, size_t max_len);

int vfs_ps2_accept(struct vfs_request *);
bool vfs_ps2_ready(struct vfs_backend *);