PDA

View Full Version : lol "how to...?"


silverfox
12-03-2006, 12:22 AM
ive taken a look at many source codes but still cant figure out how to intergrate the danzeff keyboard into a homebrew, or really any form of text input really...

ive found his source code but even though it tells me the functions it doesnt say how to intergrate it into a program when i press a button, on my psp.

Code Usage:
Call danzeff_load(); to load up the keyboard (loads images from the memory stick)
Check that it managed to load the images with danzeff_isinitialized(); If it failed then either: There's not enough memory or the images aren't there.
You can now move it to where on the screen you want it to be using danzeff_moveTo(X,Y);

The 3 functions you can now use are:
int danzeff_dirty(); // <- returns true if the OSK would render differently to the last time it was rendered.
unsigned int danzeff_readInput(SceCtrlData pspctrl); // <- returns a character if one is pressed
void danzeff_render(); // <- draws the OSK