add enhancements menu tab

This commit is contained in:
TakaRikka
2026-04-02 03:11:58 -07:00
parent b3196db113
commit f04a0d2119
15 changed files with 116 additions and 51 deletions
+3 -1
View File
@@ -28,6 +28,8 @@
#include "d/d_debug_camera.h"
#endif
#include "dusk/imgui/ImGuiMenuEnhancements.hpp"
namespace {
static f32 limitf(f32 value, f32 min, f32 max) {
@@ -764,7 +766,7 @@ void dCamera_c::updatePad() {
var_f31 = mDoCPd_c::getSubStickX3D(mPadID);
#if TARGET_PC
if (dusk::tweaks::InvertCameraXAxis) {
if (dusk::ImGuiMenuEnhancements::m_enhancements.invertCameraXAxis) {
var_f31 *= -1.0f;
}
#endif