diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-03 01:41:12 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-03 01:41:12 +0100 |
commit | 91612eb45a4195484b43e446907317dbffbff730 (patch) | |
tree | e240252a44da318e5854d851e524a3ada6ca869c /src/core/Frontend.h | |
parent | Add radio off text (diff) | |
download | re3-91612eb45a4195484b43e446907317dbffbff730.tar re3-91612eb45a4195484b43e446907317dbffbff730.tar.gz re3-91612eb45a4195484b43e446907317dbffbff730.tar.bz2 re3-91612eb45a4195484b43e446907317dbffbff730.tar.lz re3-91612eb45a4195484b43e446907317dbffbff730.tar.xz re3-91612eb45a4195484b43e446907317dbffbff730.tar.zst re3-91612eb45a4195484b43e446907317dbffbff730.zip |
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r-- | src/core/Frontend.h | 16 |
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 |