summaryrefslogtreecommitdiffstats
path: root/src/ControllerConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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