#include <pspdebug.h>
#include <pspctrl.h>
#include <stdio.h>
#include <string.h>
#include "pspdebugkb.h"
Functions | |
| void | pspDebugKbShift (int *shiftState) |
| Switch charTable when SHIFT is pressed. | |
| void | pspDebugKbDrawKey (int row, int col, int highlight) |
| Draw the specified key on the keyboard. | |
| void | pspDebugKbClearBox () |
| Clear the area where the box resides. | |
| void | pspDebugKbDrawBox () |
| Draw the entire box on the desbug screen. | |
| void | pspDebugKbDrawString (char *str) |
| Draw the string at the top of the box. | |
| void | pspDebugKbInit (char *str) |
| Make the text box happen. | |
Variables | |
| char | charTable [PSP_DEBUG_KB_NUM_ROWS][PSP_DEBUG_KB_NUM_CHARS] |
| void pspDebugKbClearBox | ( | ) |
Clear the area where the box resides.
Called from pspDebugKbDrawBox and pspDebugKbInit (on exit).
| void pspDebugKbDrawBox | ( | ) |
Draw the entire box on the desbug screen.
Called from shift() and doInputBox(char*)
| void pspDebugKbDrawKey | ( | int | row, | |
| int | col, | |||
| int | highlight | |||
| ) |
Draw the specified key on the keyboard.
| row | - The row of the character to print (in charTable) | |
| col | - The column of the character to print (in charTable) | |
| highlight | - 0 for plain; otherwise highlighted |
| void pspDebugKbDrawString | ( | char * | str | ) |
Draw the string at the top of the box.
| str | - The string to print |
| void pspDebugKbInit | ( | char * | str | ) |
Make the text box happen.
| str | - The string to edit |
| void pspDebugKbShift | ( | int * | shiftState | ) |
Switch charTable when SHIFT is pressed.
| shiftState | - Pointer to an int indicating Caps Lock |
| char charTable[PSP_DEBUG_KB_NUM_ROWS][PSP_DEBUG_KB_NUM_CHARS] |
1.5.2