0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text
enum Buttons : unsigned int
{
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
};
bool pressedButton(unsigned int button)
{
char offset = *(char*)0xCBCCC0 + button;
if (offset != 0)
return 1;
else return 0;
}
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}
0x0036D41F [Enable = 0x01] [Disable = 0x00]
0x36D375 - SIZE [Good Size = 0x18]
0x36D378 - PositionX [Good Position = 0x41]
0x36D37C - PositionY [Good Position = 0x43, 0x48
0x00859a40 - Text
public class Buttons
{
public static uint
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B;
}
public bool pressedButton(uint button)
{
if (PS3.Extension.ReadByte(0xCBCCC0 + button) != 0)
return true;
else return false;
}
private static UInt32 Key_IsDown = 0xCBCCC0;
public enum Buttons
{
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
}
public static bool PressedButton(Buttons Button)
{
if (PS3.Extension.ReadByte(Key_IsDown + (UInt32)Button) != 0)
return true;
else return false;
}
public static void Exmple()
{
if (PressedButton(Buttons.DpadUp))
{
MessageBox.Show("DPAD UP PRESSED");
}
}
private static UInt32 Key_IsDown = 0xCBCCC0;
public enum Buttons
{
DpadDown = 255,
DpadLeft = 0x10B,
DpadRight = 0x117,
DpadUp = 0xF3,
R1 = 0x4B,
L1 = 0x43,
R2 = 0xE7,
L2 = 0xDB,
R3 = 0xD3,
L3 = 0xC3,
Cross = 0x13,
Square = 0x27,
Triangle = 0x33,
Circle = 0x1B
}
public static bool PressedButton(Buttons Button)
{
if (PS3.Extension.ReadByte(Key_IsDown + (UInt32)Button) != 0)
return true;
else return false;
}
public static void Exmple()
{
if (PressedButton(Buttons.DpadUp))
{
MessageBox.Show("DPAD UP PRESSED");
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.