|
PatchworkOS
|
#include <kernel/drivers/ps2/ps2_kbd.h>#include <kernel/drivers/ps2/ps2_scanmap.h>#include <kernel/cpu/irq.h>#include <kernel/drivers/abstractions/kbd.h>#include <kernel/log/log.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| static void | ps2_kbd_irq (irq_t irq, void *data) |
| uint64_t | ps2_kbd_init (ps2_device_info_t *info) |
| Initialize a PS/2 keyboard device. | |
Variables | |
| static kbd_t * | kbd |
|
static |
Definition at line 12 of file ps2_kbd.c.
References data, ERR, ps2_kbd_irq_context_t::isExtended, ps2_kbd_irq_context_t::isRelease, kbd, KBD_PRESS, kbd_push(), KBD_RELEASE, LOG_ERR, LOG_WARN, PS2_DEV_RESPONSE_ACK, PS2_DEV_RESPONSE_BAT_OK, PS2_DEV_RESPONSE_KBD_EXTENDED, PS2_DEV_RESPONSE_KBD_RELEASE, PS2_DEV_RESPONSE_RESEND, PS2_READ, and ps2_scancode_to_keycode().
Referenced by ps2_kbd_init().
|
static |
Definition at line 10 of file ps2_kbd.c.
Referenced by ansi_kbd_to_receiving(), kbd_dir_cleanup(), kbd_events_poll(), kbd_events_read(), kbd_free(), kbd_name_read(), kbd_new(), kbd_push(), kbd_update_mod(), ps2_kbd_init(), ps2_kbd_irq(), and terminal_handle_input().