add kbm support
This commit is contained in:
1 parent
f2d81a0bc6
commit
d0db40a3ee
6 files changed
+646
-22
No files matched your search
@@ -38,6 +38,7 @@ public:
|
||||
bool m_bIsConnected;
|
||||
bool m_bWasConnected;
|
||||
bool m_bHasConnected;
|
||||
bool m_bControllerActive;
|
||||
|
||||
unsigned int m_uiButtons;
|
||||
unsigned int m_uiOldButtons;
|
||||
@@ -105,12 +106,14 @@ public:
|
||||
void SetJoypadMapVal(int iPad, unsigned char ucMap);
|
||||
unsigned char GetJoypadMapVal(int iPad);
|
||||
|
||||
void MapTouchInput(int iPad, int button);
|
||||
void SetJoypadStickAxisMap(int iPad, unsigned int uiFrom, unsigned int uiTo);
|
||||
void SetJoypadStickTriggerMap(int iPad, unsigned int uiFrom, unsigned int uiTo);
|
||||
|
||||
bool IsPadConnected(int iPad);
|
||||
void SetSelectBackSwapped(bool swapped);
|
||||
bool IsSelectBackSwapped();
|
||||
bool IsPadActive(int iPad);
|
||||
void SetSigninJoypadMask(unsigned int mask);
|
||||
unsigned int GetValue(int iPad, unsigned char ucAction, bool bRepeat = false);
|
||||
bool IsSet(int iPad, unsigned char ucAction);
|
||||
@@ -185,6 +188,8 @@ public:
|
||||
int (*m_pDebugSequenceFn)(void *);
|
||||
LPVOID m_pDebugSequenceParam;
|
||||
|
||||
unsigned int m_iTouchInputButton[MAX_JOYPADS];
|
||||
|
||||
private:
|
||||
EControllerType GetControllerName(SDL_GamepadType type)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user