summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/Frontend.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index b0100fdc..9c666809 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -725,6 +725,19 @@ public:
#define ISLAND_LOADING_ISNT(p)
#endif
+#ifdef GAMEPAD_MENU
+ enum
+ {
+ CONTROLLER_DUALSHOCK2 = 0,
+ CONTROLLER_DUALSHOCK3,
+ CONTROLLER_DUALSHOCK4,
+ CONTROLLER_XBOX360,
+ CONTROLLER_XBOXONE,
+ };
+
+ static int8 m_PrefsControllerType;
+#endif
+
public:
static void BuildStatLine(Const char *text, void *stat, bool itsFloat, void *stat2);
static void CentreMousePointer();
@@ -784,6 +797,9 @@ public:
void PageDownList(bool);
int8 GetPreviousPageOption();
void ProcessList(bool &goBack, bool &optionSelected);
+#ifdef GAMEPAD_MENU
+ void LoadController(int8 type);
+#endif
};
#ifndef IMPROVED_VIDEOMODE