summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/driver/ps2.h
blob: c5d0ce10ef8107608165ae7736abaf1af5b90f8a (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);

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