Skip to content

Commit

Permalink
patched buttons so this should work fine on 1.27
Browse files Browse the repository at this point in the history
@Irekej, mister pls explain where did you copy this? Looks like real pierogi code
  • Loading branch information
bogdikon authored Jul 26, 2024
1 parent bff40c1 commit 6b59186
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions GTA112SPRX/GTAStructs.h
Original file line number Diff line number Diff line change
Expand Up @@ -962,27 +962,24 @@ class SCEvent {

enum InputButtons
{
BUTTON_X = 0x15, //PS3 1.12
BUTTON_R1 = 0xC2, //PS3 1.12
BUTTON_TRIANGLE = 0xB1, //PS3 1.12
BUTTON_Y = 23,
BUTTON_LB = 0x13,
BUTTON_LT = 0x19,
BUTTON_LS = 0x56,
DPAD_RIGHT = 0x2C, //PS3 1.12
BUTTON_RT = 0x47,
BUTTON_RS = 0x1A,
BUTTON_START = 0xAD, //PS3 1.12
DPAD_LEFT = 15, //1.12
BUTTON_L2 = 0xC3, //PS3 1.12
BUTTON_CIRCLE = 0xAF, //PS3 1.12
DPAD_DOWN = 20, //PS3 1.12
DPAD_UP = 27 ,//PS3 1.12
BUTTON_SQUARE = 22 ,// 1.12
BUTTON_L1 = 62, // 1.12
BUTTON_R2 = 11 ,// 1.12
BUTTON_LEFT_CLICKED = 36, // 1.12
BUTTON_RIGHT_CLICKED = 29// 1.12
BUTTON_X = 0xC1,
BUTTON_R1 = 0xC5,
BUTTON_TRIANGLE = 0xC0,
BUTTON_Y = 0xC2,
BUTTON_LB = 0xC4,
BUTTON_LT = 0xC6,
BUTTON_LS = 0xC8,
DPAD_RIGHT = 0xCD,
BUTTON_RT = 0xC7,
BUTTON_RS = 0xC9,
DPAD_LEFT = 0xCC,
BUTTON_L2 = 0xC6,
BUTTON_CIRCLE = 0xC3,
DPAD_DOWN = 0xCB,
DPAD_UP = 0xCA,
BUTTON_SQUARE = 0xC2,
BUTTON_L1 = 0xC4,
BUTTON_R2 = 0xC7
};

/*
Expand Down

0 comments on commit 6b59186

Please sign in to comment.