PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
ps2_kbd.h File Reference
#include "ps2.h"
#include <kernel/drivers/abstract/kbd.h>
Include dependency graph for ps2_kbd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ps2_kbd_t
 PS/2 keyboard private data. More...
 

Enumerations

enum  ps2_kbd_flags_t { PS2_KBD_NONE = 0 , PS2_KBD_EXTENDED = 1 << 0 , PS2_KBD_RELEASE = 1 << 1 }
 PS/2 keyboard flags. More...
 

Functions

uint64_t ps2_kbd_init (ps2_device_info_t *info)
 Initialize a PS/2 keyboard device.
 
uint64_t ps2_kbd_irq_register (ps2_device_info_t *info)
 Register the IRQ handler for a PS/2 keyboard device.
 
void ps2_kbd_deinit (ps2_device_info_t *info)
 Deinitialize a PS/2 keyboard device.