mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
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:
11
src/Config.h
11
src/Config.h
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user