pspdebugkb.c File Reference

#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]


Function Documentation

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.

Parameters:
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.

Parameters:
str - The string to print

void pspDebugKbInit ( char *  str  ) 

Make the text box happen.

Parameters:
str - The string to edit

void pspDebugKbShift ( int *  shiftState  ) 

Switch charTable when SHIFT is pressed.

Parameters:
shiftState - Pointer to an int indicating Caps Lock


Variable Documentation

char charTable[PSP_DEBUG_KB_NUM_ROWS][PSP_DEBUG_KB_NUM_CHARS]


Generated on Tue Jul 24 15:21:23 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2