|
AquilaOS documentation
How it works, and its code
|
The PS/2 keyboard driver. More...
#include <core/system.h>#include <core/module.h>#include <cpu/cpu.h>#include <dev/i8042.h>#include <dev/vt.h>Go to the source code of this file.
Functions | |
| static int | ps2kbd_probe (void) |
| Sends the keyboard's scancodes to the virtual terminals. | |
The PS/2 keyboard driver.
The keyboard is on the first port of the i8042 controller (dev/input/i8042.c). Each byte it sends, a scancode, goes to the virtual terminals (vt_scancode()), which turn it into keys and characters.
Definition in file ps2kbd.c.
|
static |
Sends the keyboard's scancodes to the virtual terminals.
Definition at line 19 of file ps2kbd.c.
References i8042_handler_register(), ps2kbd_probe(), and vt_scancode().
Referenced by ps2kbd_probe().