Skip to content

Commit

Permalink
Fix these enums
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Sep 11, 2023
1 parent a38c4ea commit a970d02
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions src/game/enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,14 @@ namespace game
LOC_SEL_INPUT_CANCEL = 0x5,
};

enum KeyCatcherFlag_t : __int32
{
KEY_CATCHER_FLAG_CONSOLE = 0x1,
KEY_CATCHER_FLAG_LOCATION_SELECTION = 0x8,
KEY_CATCHER_FLAG_IN_POPUP = 0x10,
KEY_CATCHER_FLAG_CHAT = 0x20,
};

enum GamepadPhysicalAxis
{
GPAD_PHYSAXIS_RSTICK_X = 0x0,
Expand Down Expand Up @@ -1878,26 +1886,25 @@ namespace game
SPHERE_MAY_HIT_V1 = 0x3,
};

enum GamePadButton : __int32
enum GamePadButton
{
GPAD_NONE = 0x0,
GPAD_UP = 0x10000008,
GPAD_DOWN = 0x10000004,
GPAD_LEFT = 0x10000001,
GPAD_RIGHT = 0x10000002,
GPAD_UP = 0x10000001,
GPAD_DOWN = 0x10000002,
GPAD_LEFT = 0x10000004,
GPAD_RIGHT = 0x10000008,
GPAD_START = 0x10000010,
GPAD_BACK = 0x10004800,
GPAD_L3 = 0x10005000,
GPAD_R3 = 0x10004000,
GPAD_A = 0x10000800,
GPAD_B = 0x10001000,
GPAD_X = 0x10000100,
GPAD_Y = 0x10000200,
GPAD_L_SHLDR = 0x10006000,
GPAD_R_SHLDR = 0x10004400,
GPAD_L_TRIG = 0x10002000,
GPAD_R_TRIG = 0x10000400,
GPAD_HOME = 0x10008000,
GPAD_BACK = 0x10000020,
GPAD_L3 = 0x10000040,
GPAD_R3 = 0x10000080,
GPAD_A = 0x10001000,
GPAD_B = 0x10002000,
GPAD_X = 0x10004000,
GPAD_Y = 0x10008000,
GPAD_L_SHLDR = 0x10000100,
GPAD_R_SHLDR = 0x10000200,
GPAD_L_TRIG = 0x20000000,
GPAD_R_TRIG = 0x20000001,
};

enum sysEventType_t
Expand Down

0 comments on commit a970d02

Please sign in to comment.