A precise input stabilizer for Fabric 1.21.4.
SideButtonFix is a lightweight Fabric mod designed to eliminate software-level chattering and accidental double-clicks from mouse side buttons (Mouse 4 & 5). By implementing a high-precision millisecond debounce window, it ensures that every physical intention results in exactly one logical action.
- Universal Debounce Logic: Applies a configurable timing window to side button inputs to filter out mechanical switch chatter and noise.
- Input Integrity: Specifically targets GLFW mouse button IDs 3 and 4 (Back/Forward) to protect navigation and hotkey reliability without affecting main click performance.
- Configurable Thresholds: Includes a configuration file to fine-tune the debounce timing to match your specific hardware's latency profile.
The mod generates a configuration file at .minecraft/config/side-button-fix.json:
debounceTime: The window (in milliseconds) within which consecutive clicks are considered chattering and are discarded (Default:50).
SideButtonFix utilizes Mixin to hook into the low-level net.minecraft.client.Mouse.onMouseButton handler. This ensures that filtering happens before the input is dispatched to the game logic, GUI, or key-bind system.
- Status: Purely a stability utility.
- Compliance: Does not automate actions, create macros, or provide an unfair advantage. It simply ensures the client correctly interprets single physical button presses as intended by the user.
- Version: Fabric 1.21.4
- Dependencies: Requires Fabric API.
Developed by ReaQwQ