Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BO2 Button Monitoring 1.18
- //SOURCE: NGUWINTER - http://pastebin.com/utHTK6H4
- #region Local Button Monitoring
- public class ButtonMonitoring
- {
- public static bool PressUp()
- {
- return PS3.Extension.ReadBool(0x00f0a90f);
- }
- public static bool PressDown()
- {
- return PS3.Extension.ReadBool(0x00f0a91f);
- }
- public static bool PressLeft()
- {
- return PS3.Extension.ReadBool(0x00f0a92f);
- }
- public static bool PressRight()
- {
- return PS3.Extension.ReadBool(0x00f0a93f);
- }
- public static bool PressL1()
- {
- return PS3.Extension.ReadBool(0x00f0a81f);
- }
- public static bool PressR1()
- {
- return PS3.Extension.ReadBool(0x00f0a82f);
- }
- public static bool PressL2()
- {
- return PS3.Extension.ReadBool(0x00f0a8ef);
- }
- public static bool PressR2()
- {
- return PS3.Extension.ReadBool(0x00f0a8ff);
- }
- public static bool PressL3()
- {
- return PS3.Extension.ReadBool(0x00f0a8cf);
- }
- public static bool PressR3()
- {
- return PS3.Extension.ReadBool(0x00f0a8df);
- }
- public static bool PressTriangle()
- {
- return PS3.Extension.ReadBool(0x00f0a80f);
- }
- public static bool PressSquare()
- {
- return PS3.Extension.ReadBool(0x00f0a7ff);
- }
- public static bool PressX()
- {
- return PS3.Extension.ReadBool(0x00f0a7df);
- }
- public static bool PressCircle()
- {
- return PS3.Extension.ReadBool(0x00f0a7ef);
- }
- public static bool PressSelect()
- {
- return PS3.Extension.ReadBool(0x00f0a8bf);
- }
- public static bool PressStart()
- {
- return PS3.Extension.ReadBool(0x00f0a8af);
- }
- /* Example:
- if(ButtonMonitoring.PressUp())
- {
- MessageBox.Show("Up Pressed");
- }
- */
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement