PatchworkOS
28a9544
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
ps2_kbd.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ps2.h
"
4
16
typedef
struct
17
{
18
bool
isExtended
;
// True if the current packet contains PS2_DEV_RESPONSE_KBD_EXTENDED.
19
bool
isRelease
;
// True if the current packet contains PS2_DEV_RESPONSE_KBD_RELEASE.
20
}
ps2_kbd_irq_context_t
;
21
28
uint64_t
ps2_kbd_init
(
ps2_device_info_t
*
info
);
29
ps2_kbd_init
uint64_t ps2_kbd_init(ps2_device_info_t *info)
Initialize a PS/2 keyboard device.
Definition
ps2_kbd.c:52
info
static fb_info_t info
Definition
gop.c:41
ps2.h
uint64_t
__UINT64_TYPE__ uint64_t
Definition
stdint.h:17
ps2_device_info_t
PS/2 device information structure.
Definition
ps2.h:138
ps2_kbd_irq_context_t
State for the PS/2 keyboard interrupt handler.
Definition
ps2_kbd.h:17
ps2_kbd_irq_context_t::isRelease
bool isRelease
Definition
ps2_kbd.h:19
ps2_kbd_irq_context_t::isExtended
bool isExtended
Definition
ps2_kbd.h:18
src
modules
drivers
ps2
ps2_kbd.h
Generated by
1.9.8