add hotkey config values.

duplicate DlgInputConfig so that it can also do hotkey config.
also prevent from opening those config dialogs a billion times.
This commit is contained in:
StapleButter
2018-12-14 03:32:40 +01:00
parent cb1e6ce750
commit ff1e21733d
7 changed files with 203 additions and 93 deletions

View File

@ -21,6 +21,14 @@
#include "types.h"
enum
{
HK_Lid = 0,
HK_Mic,
HK_MAX
};
namespace Config
{
FILE* GetConfigFile(const char* fileName, const char* permissions);
@ -31,6 +39,9 @@ void Save();
extern int KeyMapping[12];
extern int JoyMapping[12];
extern int HKKeyMapping[HK_MAX];
extern int HKJoyMapping[HK_MAX];
extern int WindowWidth;
extern int WindowHeight;