|
PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>#include <fcntl.h>#include <unistd.h>#include <ps2sdkapi.h>#include "libkbd.h"
Include dependency graph for libkbd.c:Go to the source code of this file.
Functions | |
| int | PS2KbdInit (void) |
| int | PS2KbdRead (char *key) |
| int | PS2KbdReadRaw (PS2KbdRawKey *key) |
| int | PS2KbdSetReadmode (u32 readmode) |
| int | PS2KbdSetBlockingMode (u32 blockmode) |
| 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) |
Variables | |
| int | _iop_reboot_count |
| static int | kbd_iop = -1 |
| static int | kbd_fd = -1 |
| static int | curr_blockmode = PS2KBD_NONBLOCKING |
| static int | curr_readmode = PS2KBD_READMODE_NORMAL |
USB Keyboard Driver for PS2
Definition in file libkbd.c.
| 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 PS2KbdResetKeymap | ( | void | ) |