Initial implementation of gyro aim

This commit is contained in:
Irastris
2026-04-12 01:15:52 -04:00
parent d481a23c49
commit b5bb6bf53a
11 changed files with 241 additions and 8 deletions
+1
View File
@@ -4550,6 +4550,7 @@ public:
#if TARGET_PC
void handleQuickTransform();
bool checkGyroAimItemContext();
#endif
}; // Size: 0x385C
+10
View File
@@ -0,0 +1,10 @@
#ifndef DUSK_GYRO_AIM_H
#define DUSK_GYRO_AIM_H
namespace dusk::gyro_aim {
void read(float dt, bool context_active);
void consumeAimDeltas(float& out_yaw_rad, float& out_pitch_rad);
bool queryGyroAimItemContext();
} // namespace dusk::gyro_aim
#endif
+6
View File
@@ -60,6 +60,12 @@ struct UserSettings {
ConfigVar<bool> noLowHpSound;
ConfigVar<bool> midnasLamentNonStop;
// Input
ConfigVar<bool> enableGyroAim;
ConfigVar<float> gyroAimSensitivity;
ConfigVar<bool> gyroAimInvertPitch;
ConfigVar<bool> gyroAimInvertYaw;
// Cheats
ConfigVar<bool> enableFastIronBoots;
ConfigVar<bool> canTransformAnywhere;