Remove WinAPI primitive aliases from 4J.Input

This commit is contained in:
notmatthewbeshay 2026-03-16 04:36:30 +11:00
parent 719b89c7b5
commit 24e10876ff
2 changed files with 3 additions and 3 deletions

View file

@ -571,7 +571,7 @@ void C_4JInput::SetJoypadStickAxisMap(int, unsigned int, unsigned int) {}
void C_4JInput::SetJoypadStickTriggerMap(int, unsigned int, unsigned int) {}
void C_4JInput::SetKeyRepeatRate(float, float) {}
void C_4JInput::SetDebugSequence(const char*, int (*)(void*), void*) {}
FLOAT C_4JInput::GetIdleSeconds(int) { return 0.f; }
float C_4JInput::GetIdleSeconds(int) { return 0.f; }
bool C_4JInput::IsPadConnected(int iPad) { return iPad == 0; }
// Silly check, we check if we have a keyboard.

View file

@ -53,7 +53,7 @@ enum EKeyboardResult {
};
typedef struct _STRING_VERIFY_RESPONSE {
WORD wNumStrings;
std::uint16_t wNumStrings;
HRESULT* pStringResult;
} STRING_VERIFY_RESPONSE;
@ -96,7 +96,7 @@ public:
void SetKeyRepeatRate(float fRepeatDelaySecs, float fRepeatRateSecs);
void SetDebugSequence(const char* chSequenceA, int (*Func)(void*),
void* lpParam);
FLOAT GetIdleSeconds(int iPad);
float GetIdleSeconds(int iPad);
bool IsPadConnected(int iPad);
// In-Game values which may have been remapped due to Southpaw, swap