public class Buttons
{
public static uint
L1 = 0x41,
R1 = 0x4D,
Square = 0x29,
R3 = 0xD1,
DpadUp = 0xF5,
DpadDown = 0x105,
Cross = 0x10,
Square = 0x28,
Triangle = 0x34,
Circle = 0x1C,
L2 = 0xDC,
R2 = 0xE8,
L3 = 0xC4,
Left = 0x10C,
Right = 0x118,
Select = 0xB8,
Start = 0xAC;
}
public bool ButtonPressed(uint Button)
{
if (PS3.Extension.ReadByte(0x0095C08A + Button) == 0x01)
{
return true;
}
else
{
return false;
}
}
It fixed my 3 menus...(i had to use super ghetto functions before saw yours)
public class Buttons
{
public static uint
L1 = 0x41,
R1 = 0x4D,
Square = 0x29,
R3 = 0xD1,
DpadUp = 0xF5,
DpadDown = 0x105,
Cross = 0x10,
Square = 0x28,
Triangle = 0x34,
Circle = 0x1C,
L2 = 0xDC,
R2 = 0xE8,
L3 = 0xC4,
Left = 0x10C,
Right = 0x118,
Select = 0xB8,
Start = 0xAC;
}
public bool ButtonPressed(uint Button)
{
if (PS3.Extension.ReadByte(0x0095C08A + Button) == 0x01)
{
return true;
}
else
{
return false;
}
}
enum Buttons : unsigned int
{
L1 = 0x41,
R1 = 0x4D,
Square = 0x29,
R3 = 0xD1,
DpadUp = 0xF5,
DpadDown = 0x105,
Cross = 0x10,
Square = 0x28,
Triangle = 0x34,
Circle = 0x1C,
L2 = 0xDC,
R2 = 0xE8,
L3 = 0xC4,
Left = 0x10C,
Right = 0x118,
Select = 0xB8,
Start = 0xAC
};
bool pressedButton(Buttons Button)
{
char offset = *(char*)0x0095C08A + Button;
if (offset == 1)
return 1;
else return 0;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.