mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- hooked up ZDoom' joystick code and removed the remaining parts of the old MACT input library.
This commit is contained in:
parent
957d997353
commit
d23b4a7e33
55 changed files with 79 additions and 1376 deletions
|
@ -37,7 +37,6 @@
|
|||
#include "basics.h"
|
||||
#include "zstring.h"
|
||||
#include "c_bind.h"
|
||||
#include "control.h"
|
||||
#include "gamecontrol.h"
|
||||
|
||||
//=============================================================================
|
||||
|
@ -198,7 +197,7 @@ char const* C_CON_GetGameFuncOnJoystick(int gameFunc)
|
|||
|
||||
FString C_CON_GetBoundKeyForLastInput(int gameFunc)
|
||||
{
|
||||
if (CONTROL_LastSeenInput == LastSeenInput::Joystick)
|
||||
if (inputState.gamePadActive())
|
||||
{
|
||||
FString name = C_CON_GetGameFuncOnJoystick(gameFunc);
|
||||
if (name.IsNotEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue