Added camera invert X option to Tweaks menu

This commit is contained in:
MelonSpeedruns
2026-03-31 17:33:28 -04:00
parent 9e298f9228
commit 5fae2be850
4 changed files with 10 additions and 0 deletions
+7
View File
@@ -762,6 +762,13 @@ void dCamera_c::updatePad() {
var_f29 = 0.0f;
} else {
var_f31 = mDoCPd_c::getSubStickX3D(mPadID);
#if TARGET_PC
if (dusk::tweaks::InvertCameraXAxis) {
var_f31 *= -1.0f;
}
#endif
var_f30 = mDoCPd_c::getSubStickY(mPadID);
var_f29 = mDoCPd_c::getSubStickValue(mPadID);
}