i was once again going through the pad lib and found out theres more to it i figured out how to get the analog stick cords.
$(SCE_PS3_ROOT)\target\ppu\lib\libpadfilter.a
$(SCE_PS3_ROOT)\samples\common\padutil

//you dont have to use this code
customize it the way you want 
#include <cell/pad.h>
#include <cell/padfilter.h>
#include "padutil.h"
void ex(uint32_t* Lx,uint32_t* Rx,uint32_t* Ly,uint32_t* Ry)
{
CellPadUtilAxis buffR = cellPadUtilGetAxisValue(0, CELL_UTIL_ANALOG_RIGHT);
CellPadUtilAxis buffL = cellPadUtilGetAxisValue(0, CELL_UTIL_ANALOG_LEFT);
*Lx = buffL.x;
*Rx = buffR.x;
*Ly = buffL.y;
*Ry = buffR.y;
}
uint32_t lel[4];
extern "C" int main()
{
ex(&lel[0],&lel[1],&lel[2],&lel[3]);
if(lel[0] > lel[1])
printf("
");
return 0;
}

i was once again going through the pad lib and found out theres more to it i figured out how to get the analog stick cords.
$(SCE_PS3_ROOT)\target\ppu\lib\libpadfilter.a
$(SCE_PS3_ROOT)\samples\common\padutil

//you dont have to use this code
customize it the way you want 
#include <cell/pad.h>
#include <cell/padfilter.h>
#include "padutil.h"
void ex(uint32_t* Lx,uint32_t* Rx,uint32_t* Ly,uint32_t* Ry)
{
CellPadUtilAxis buffR = cellPadUtilGetAxisValue(0, CELL_UTIL_ANALOG_RIGHT);
CellPadUtilAxis buffL = cellPadUtilGetAxisValue(0, CELL_UTIL_ANALOG_LEFT);
*Lx = buffL.x;
*Rx = buffR.x;
*Ly = buffL.y;
*Ry = buffR.y;
}
uint32_t lel[4];
extern "C" int main()
{
ex(&lel[0],&lel[1],&lel[2],&lel[3]);
if(lel[0] > lel[1])
printf("
");
return 0;
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.