Merge pull request #135 from Laupetin/fix/gamepad-pick-up-hold-x
Fix gamepad hold x to pickup only being applied to non dedi
This commit is contained in:
commit
058946b824
@ -1870,6 +1870,9 @@ namespace Components
|
||||
Utils::Hook(0x60B264, Com_WriteConfiguration_Modified_Stub, HOOK_JUMP).install()->quick();
|
||||
Utils::Hook(0x60B223, Key_WriteBindings_Hk, HOOK_CALL).install()->quick();
|
||||
|
||||
// Add hold time to gamepad usereload on hold prompts
|
||||
Utils::Hook(0x5FE396, Player_UseEntity_Stub, HOOK_JUMP).install()->quick();
|
||||
|
||||
CreateKeyNameMap();
|
||||
|
||||
Command::Add("bindaxis", Axis_Bind_f);
|
||||
@ -1896,9 +1899,6 @@ namespace Components
|
||||
// Only return gamepad keys when gamepad enabled and only non gamepad keys when not
|
||||
Utils::Hook(0x5A7A23, Key_GetCommandAssignmentInternal_Hk, HOOK_CALL).install()->quick();
|
||||
|
||||
// Add hold time to gamepad usereload on hold prompts
|
||||
Utils::Hook(0x5FE396, Player_UseEntity_Stub, HOOK_JUMP).install()->quick();
|
||||
|
||||
// Add gamepad inputs to remote control (eg predator) handling
|
||||
Utils::Hook(0x5A6D4E, CL_RemoteControlMove_Stub, HOOK_CALL).install()->quick();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user