Merge pull request #343 from TwilitRealm/ira/gyro-aim

Initial implementation of gyro aim
This commit is contained in:
TakaRikka
2026-04-12 16:54:25 -07:00
committed by GitHub
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
@@ -62,6 +62,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;