summaryrefslogtreecommitdiffstats
path: root/src/ControllerConfig.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-31 19:18:18 +0200
committerGitHub <noreply@github.com>2019-05-31 19:18:18 +0200
commit7eee450a698cf3cee5e21da45477d7a308668e1c (patch)
tree392a32b7c35ad574879564487f52ed14d6d4ea5c /src/ControllerConfig.cpp
parentmore high level functions (diff)
parentrw skeleton (diff)
downloadre3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.gz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.bz2
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.lz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.xz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.zst
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.zip
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