From 1dc8a005ed111463c22c17b487e5ec8a3e2d30f3 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Wed, 4 Mar 2026 21:19:40 +0800 Subject: refactor: refactor KBM input code --- Minecraft.Client/Input.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Minecraft.Client/Input.h') diff --git a/Minecraft.Client/Input.h b/Minecraft.Client/Input.h index d8dedd57..c7e1eec4 100644 --- a/Minecraft.Client/Input.h +++ b/Minecraft.Client/Input.h @@ -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; }; -- cgit v1.2.3