Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Account for horizontal mouse wheel scrolling Display$Window#scrollCallback: when the vertical scrolling offset (yoffset) is 0, pass the horizontal scrolling offset (xoffset) to Mouse#addWheelEvent instead Fixes #90 Signed-off-by: unilock <[email protected]> * Allow inverting horizontal scrolling via config Respects "invertScrollWheel", in that horizontal scrolling will be double-inverted if both config options are enabled. (thus: not inverted) Disabled by default. (Technically, when horizontal scrolling was fixed in Minecraft 1.20.2, it was made to be inverted by default.) (However, all mods that implemented the same fix before Mojang did (EmuNO, MacOS Input Fixes, McMouser, etc.) do *not* invert horizontal scrolling by default - LWJGL3ify follows this standard.) Signed-off-by: unilock <[email protected]> * SPOTLESS... Signed-off-by: unilock <[email protected]> --------- Signed-off-by: unilock <[email protected]>
- Loading branch information