forked from str1k3r/4JLibs-VS2012
Replace XInput with SDL 3 Input
This commit is contained in:
98 files changed
+82676
-52
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user