feat: x360 input lib
This commit is contained in:
1 parent
f8ec357c45
commit
f9c9b27e33
22 files changed
+2147
-8
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include "4J_Input.h"
|
||||
|
||||
class CKeyboard
|
||||
{
|
||||
private:
|
||||
XOVERLAPPED KeyboardOverlap;
|
||||
C_4JInput::EKeyboardResult eState;
|
||||
|
||||
int iPad;
|
||||
UINT uiMaxChars;
|
||||
WCHAR *pwchResult;
|
||||
bool bActive;
|
||||
|
||||
int(*Func)(LPVOID lpParam, bool bSet);
|
||||
LPVOID lpParam;
|
||||
public:
|
||||
CKeyboard();
|
||||
void Tick(void);
|
||||
|
||||
C_4JInput::EKeyboardResult RequestKeyboard(LPCWSTR uiTitle, LPCWSTR uiText, LPCWSTR uiDesc, DWORD dwPad, WCHAR *pwchResult, UINT uiMaxChars, int (*Func)(LPVOID, const bool), LPVOID lpParam, C_4JInput::EKeyboardMode eMode = C_4JInput::EKeyboardMode_Default);
|
||||
|
||||
//str1k3r - These 2 only exist cause of iggy
|
||||
C_4JInput::EKeyboardResult RequestKeyboard(LPCWSTR uiTitle, LPCWSTR uiText, LPCWSTR uiDesc, DWORD dwPad, UINT uiMaxChars, int(*Func)(LPVOID, const bool), LPVOID lpParam, C_4JInput::EKeyboardMode eMode);
|
||||
void GetText(uint16_t *UTF16String);
|
||||
};
|
||||
Reference in new issue
Block a user