Controller Kernel Library HELP!
Controller Kernel Library HELP!
Ive installed the tool chain, sdk, and added my own graphics to nems hello world. But i cant figure out how to use the "Controller Kernel Library". Ive looked at a few source codes and played around with it but I cant make it work. could someone write a simple "if square is pushed display text" code. thx!
I have the 1.0+BETA. and i found the HTML that explains it a bit but i still cant figure it out. Im not shour how the buttons get deffined and then how to use them. this is the example I found on the 1.0+BETA but I stiull have no idea how to set it up.
Code: Select all
ctrl_data_t pad;
sceCtrlSetSamplingCycle(0);
sceCtrlSetSamplingMode(1);
sceCtrlReadBufferPositive(&pad, 1);
// Do something with the read controller data
anyone that sees this and allso has no idea try looking at this http://www.psp.to/viewtopic.php?topic=7&forum=5
As mrbrown says, take a look at the subversion version. If you don't know how to checkout, you can browse it. For example a buttons sample and an analog pad sample.