hi ngu, i was testing a round with the pad library in the ps3sdk... i got it working :) but it can mess with your game controls so try to use in game. the header: https://www.mediafire.com/?0wxbbzb5faflygq
how to use:
initialize:
detect buttons:
enjoy :D
how to use:
initialize:
Code:
#inlcude "pad.h"
extern "C" int main(void)//main entry
{
cellPadInit(MAX_PAD);
}
Code:
uint32_t button1,button2;
PadRead(&button1, &button2);//use in thread
if(button2 & CELL_PAD_CTRL_TRIANGLE)
{
print("pad detected");
}