summaryrefslogtreecommitdiff
path: root/src/ControllerConfig.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-31 20:02:26 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-31 20:02:26 +0300
commit28fce310d5cb9a3a81e0f038192a39abd688d1bd (patch)
tree392a32b7c35ad574879564487f52ed14d6d4ea5c /src/ControllerConfig.cpp
parent84204471a51f4bd0a4f89619d2dbdb5b59e21be7 (diff)
rw skeleton
Diffstat (limited to 'src/ControllerConfig.cpp')
-rw-r--r--src/ControllerConfig.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ControllerConfig.cpp b/src/ControllerConfig.cpp
new file mode 100644
index 00000000..30f3e144
--- /dev/null
+++ b/src/ControllerConfig.cpp
@@ -0,0 +1,11 @@
+#include "common.h"
+#include "patcher.h"
+#include "ControllerConfig.h"
+
+CControllerConfigManager &ControlsManager = *(CControllerConfigManager*)0x8F43A4;
+
+WRAPPER void CControllerConfigManager::UpdateJoyButtonState(int padnumber) { EAXJMP(0x58F5B0); }
+WRAPPER void CControllerConfigManager::UpdateJoyInConfigMenus_ButtonDown(int button, int padnumber) { EAXJMP(0x58C5E0); }
+WRAPPER void CControllerConfigManager::AffectControllerStateOn_ButtonDown(int button, eControllerType type) { EAXJMP(0x58C730); }
+WRAPPER void CControllerConfigManager::UpdateJoyInConfigMenus_ButtonUp(int button, int padnumber) { EAXJMP(0x58CE80); }
+WRAPPER void CControllerConfigManager::AffectControllerStateOn_ButtonUp(int button, int padnumber) { EAXJMP(0x58CFD0); } \ No newline at end of file