refactor: refactor KBM input code

This commit is contained in:
daoge_cmd
2026-03-04 21:19:40 +08:00
parent ac03b88a90
commit 1dc8a005ed
25 changed files with 1187 additions and 689 deletions

View File

@@ -6,20 +6,17 @@ class Input
public:
float xa;
float ya;
float sprintForward;
bool wasJumping;
bool jumping;
bool sneaking;
bool usingKeyboardMovement;
Input(); // 4J - added
bool sprinting;
Input();
virtual void tick(LocalPlayer *player);
private:
bool lReset;
bool rReset;
bool m_gamepadSneaking;
};