* 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]>
* Upstream TerminalTransformer
* TerminalTransformer: support ASM9 opcodes
* Mod*Visitor: accept newer asm (mixin)
* Gradle fix: disable runClient17/runServer17 as the regular tasks already use java 17 in this repo
* Update to asm 9.5 for better Java 21 support
* Installation overhaul: embed the modified libraries in the forgePatches jar to remove a complex installation step of merging libraries folders.
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions
* Log the classloader and transformer exclusions for easier post-mortem debugging.
* Add png imageio internal plugin open-module
* Switch dev to lwjgl 3.3.2 stable
* Update lwjgl to 3.3.2 stable in the multimc patches
* Update buildscript
* Deduplicate java args between gradle and mmc-patches
* Fix handling of out-of-order char events when the key is released after being repeated.
Closes#48
* Forward org.lwjgl.input.Mouse setGrabbed calls to lwjglx for better debugger support
* Add retries with larger atlases to the stitcher code
Closes#31
* Add a dummy Controllers class
Closes#34
* Fix unsupported NestHost in the shaded jakarta jar.
* Add IME workaround.
* spotless
* Clearer naming for KeyCodes conversion functions
* add -> offer to not crash/deadlock if the queue overflows
* Make the IME hacks configurable, and off by default (because they're quite hacky)
---------
Co-authored-by: Raven Szewczyk <[email protected]>
NEI rapidly closes and opens a gui within the same frame, so here I add a counter for movement events to be ignored and make sure the camera doesn't get a DX/DY reading until after those events get actually ignored.