Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GTNewHorizons/lwjgl3ify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.5
Choose a base ref
...
head repository: GTNewHorizons/lwjgl3ify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.6
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 26, 2023

  1. Fix for horizontal scrolling (#96)

    * 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]>
    unilock authored Nov 26, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    ecdd15f View commit details
Loading