PS2SDK
PS2 Homebrew Libraries
|
#include <ps2kbd.h>
Go to the source code of this file.
Typedefs | |
typedef kbd_rawkey | PS2KbdRawKey |
typedef kbd_keymap | PS2KbdKeyMap |
Functions | |
int | PS2KbdInit (void) |
int | PS2KbdRead (char *key) |
int | PS2KbdReadRaw (PS2KbdRawKey *key) |
int | PS2KbdSetReadmode (u32 readMode) |
int | PS2KbdSetBlockingMode (u32 readMode) |
int | PS2KbdSetRepeatRate (u32 repeat) |
int | PS2KbdSetLeds (u8 leds) |
int | PS2KbdSetKeymap (PS2KbdKeyMap *keymaps) |
int | PS2KbdSetCtrlmap (u8 *ctrlmap) |
int | PS2KbdSetAltmap (u8 *altmap) |
int | PS2KbdSetSpecialmap (u8 *special) |
int | PS2KbdFlushBuffer (void) |
int | PS2KbdResetKeymap (void) |
int | PS2KbdClose (void) |
USB Keyboard Driver for PS2
Definition in file libkbd.h.
typedef kbd_rawkey PS2KbdRawKey |
typedef kbd_keymap PS2KbdKeyMap |
|
extern |
|
extern |
|
extern |
|
extern |
Sets the read mode to normal or raw
Definition at line 70 of file libkbd.c.
References PS2KBD_IOCTL_SETREADMODE.
|
extern |
Sets the blocking mode on or off
Definition at line 80 of file libkbd.c.
References PS2KBD_IOCTL_SETBLOCKMODE.
|
extern |
Sets the repeat rate in millseconds
Definition at line 90 of file libkbd.c.
References PS2KBD_IOCTL_SETREPEATRATE.
|
extern |
Sets all connected keyboards leds
Definition at line 99 of file libkbd.c.
References PS2KBD_IOCTL_SETLEDS.
|
extern |
|
extern |
Sets the control key mappings
Definition at line 117 of file libkbd.c.
References PS2KBD_IOCTL_SETCTRLMAP.
|
extern |
Sets the alt key mappings
Definition at line 126 of file libkbd.c.
References PS2KBD_IOCTL_SETALTMAP.
|
extern |
Sets the special key mappings
Definition at line 135 of file libkbd.c.
References PS2KBD_IOCTL_SETSPECIALMAP.
|
extern |
Flushes the keyboard buffer
Definition at line 144 of file libkbd.c.
References PS2KBD_IOCTL_FLUSHBUFFER.
|
extern |
Resets the keymap to the default US mapping
Definition at line 155 of file libkbd.c.
References PS2KBD_IOCTL_RESETKEYMAP.