Replace XInput with SDL 3 Input

This commit is contained in:
pieeebot committed 2026-08-07 06:45:41 +03:00
1 parent ae9abf45a2
commit 75f8389c1e
98 files changed
+82676 -52

No files matched your search

+3 -1
View File
@@ -25,6 +25,7 @@ SOFTWARE.
#include "INP_ForceFeedback.h"
#include "INP_Keyboard.h"
#include "vendor\SDL\include\SDL3\SDL.h"
#define MAX_JOYPADS 4
@@ -73,7 +74,7 @@ public:
unsigned char m_ucMappingValue;
unsigned char m_ucInputStateIndex;
XINPUT_STATE *m_pInputStates;
SDL_Gamepad *m_pGamepad;
};
struct JOYPADS
@@ -135,6 +136,7 @@ public:
void SetDebugSequence(const char *chSequenceA, int (*Func)(LPVOID), LPVOID lpParam);
FLOAT GetIdleSeconds(int iPad);
void HandleGamepadEvents();
bool UpdateJoypads(void);
void ClearJoypadValues(JOYPAD *pThisPad);