replace spaces with tabs in gamepad patch

This commit is contained in:
Jan 2022-05-05 21:42:15 +02:00
parent 13911fcb62
commit f9bfb0b883
2 changed files with 5 additions and 5 deletions

View File

@ -1849,9 +1849,9 @@ namespace Components
void Gamepad::Key_SetBinding_Hk(const int localClientNum, const int keyNum, const char* binding) void Gamepad::Key_SetBinding_Hk(const int localClientNum, const int keyNum, const char* binding)
{ {
if(Key_IsValidGamePadChar(keyNum)) if(Key_IsValidGamePadChar(keyNum))
gpad_buttonConfig.set("custom"); gpad_buttonConfig.set("custom");
Game::Key_SetBinding(localClientNum, keyNum, binding); Game::Key_SetBinding(localClientNum, keyNum, binding);
} }
void Gamepad::CL_KeyEvent_Hk(const int localClientNum, const int key, const int down, const unsigned time) void Gamepad::CL_KeyEvent_Hk(const int localClientNum, const int key, const int down, const unsigned time)

View File

@ -193,9 +193,9 @@ namespace Components
static const char* GetGamePadCommand(const char* command); static const char* GetGamePadCommand(const char* command);
static int Key_GetCommandAssignmentInternal(int localClientNum, const char* cmd, int (*keys)[2]); static int Key_GetCommandAssignmentInternal(int localClientNum, const char* cmd, int (*keys)[2]);
static void Key_GetCommandAssignmentInternal_Stub(); static void Key_GetCommandAssignmentInternal_Stub();
static void Key_SetBinding_Hk(int localClientNum, int keyNum, const char* binding); static void Key_SetBinding_Hk(int localClientNum, int keyNum, const char* binding);
static bool IsGamePadInUse(); static bool IsGamePadInUse();
static void CL_KeyEvent_Hk(int localClientNum, int key, int down, unsigned int time); static void CL_KeyEvent_Hk(int localClientNum, int key, int down, unsigned int time);
static int CL_MouseEvent_Hk(int x, int y, int dx, int dy); static int CL_MouseEvent_Hk(int x, int y, int dx, int dy);
static bool UI_RefreshViewport_Hk(); static bool UI_RefreshViewport_Hk();