mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
30 lines
844 B
C++
30 lines
844 B
C++
#pragma once
|
|
|
|
#if defined(_WINDOWS64) || defined(__linux__)
|
|
|
|
class ControllerBinds
|
|
{
|
|
public:
|
|
static const unsigned char CUSTOM_MAP = 3;
|
|
static const unsigned char MAP_COUNT = 4;
|
|
|
|
static int GetBindCount();
|
|
static unsigned char GetBindAction(int index);
|
|
static const wchar_t* GetBindName(int index);
|
|
static const wchar_t* GetBindSection(int index);
|
|
|
|
static void Init();
|
|
static unsigned int Get(int index);
|
|
static unsigned int GetFromMap(int index, unsigned char map);
|
|
static void CopyLayoutToCustom(unsigned char map);
|
|
static void Set(int index, unsigned int button);
|
|
static void ResetToDefaults();
|
|
static void Save();
|
|
|
|
static unsigned int GetBindableButtonMask();
|
|
static void GetButtonName(unsigned int button, int controlType, wchar_t* out, int outLen);
|
|
static const wchar_t* GetButtonIconName(unsigned int button);
|
|
};
|
|
|
|
#endif
|