AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
ps2kbd.c
Go to the documentation of this file.
1
9
10#include <core/system.h>
11#include <core/module.h>
12#include <cpu/cpu.h>
13
14#include <dev/i8042.h>
15
16#include <dev/vt.h>
17
19static int ps2kbd_probe(void)
20{
22 return 0;
23}
24
void i8042_handler_register(int port, void(*fun)(int))
Registers the function that gets each byte a port receives.
Definition i8042.c:75
void vt_scancode(int scancode)
Takes a scancode from the keyboard, and sends what the key means to the foreground terminal,...
Definition keyboard.c:307
#define MODULE_INIT(name, i, f)
Definition module.h:10
static int ps2kbd_probe(void)
Sends the keyboard's scancodes to the virtual terminals.
Definition ps2kbd.c:19
#define NULL
Definition stddef.h:27