Commit Graph
200 Commits
Author SHA1 Message Date
Raven Szewczyk f67c0091c0 Remove the need for lwjgl package transformer exclusions (#106)
* Remove the need for lwjgl package transformer exclusions

* fix derp
1.5.11
2024-01-07 20:06:19 +00:00
Martin Robertz 89bbfc8ec3 update deps 1.5.10 2024-01-06 16:28:34 +01:00
Raven Szewczyk 7bd0ab589d Fix key name display on non-QWERTY keyboard layouts (#105)
Closes #103
2024-01-05 21:13:44 +00:00
Raven Szewczyk 92507e0541 Fix maven publishing of version.json 1.5.9 2024-01-02 11:58:46 +00:00
glowredmanandRaven Szewczyk a5a3412334 Publish version.json (#104)
* Update buildscript

* Add publishing for version.json

* Switch remaining maven urls

* Publish to github releases too

---------

Co-authored-by: Raven Szewczyk <[email protected]>
1.5.8
2024-01-01 21:03:40 +00:00
glowredman b3d9d804fe Create version.json (#98) 1.5.7 2023-11-29 21:37:16 +00:00
makamys d79565c56f Disable STB stitching if FC 1.23 is present even with OF (#97)
(cc https://github.com/GTNewHorizons/lwjgl3ify/issues/47)
2023-11-29 21:15:24 +00:00
Katherine ecdd15f325 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]>
1.5.6
2023-11-26 17:59:52 +00:00
Jason Mitchell c218cb06ae Add missing GL_ARB_direct_state_access needed for osx 1.5.5 2023-11-25 05:31:20 -08:00
Jason Mitchell 7ba5867a7c Check for GLFW_KEY_UNKNOWN (#94) 1.5.4 2023-11-24 11:49:24 -08:00
Jason MitchellandRaven Szewczyk f8c4a5e330 Adjustments needed to get Angelica (Iris/Oculus backport) working (#88)
* WIP Adjustments needed to get Angelica (Iris/Oculus backport) working

* Move to GL20

* Hacky lwjglx.debug support since its transformer doesn't like lwjgl3ify's init call

* Don't submit invalid keycodes

* Add missing glTextureParameter

* Update buildscript

* Better setupDebugMessageCallback.

* Fix up the isKeyDown patch

* Better glGetActiveUniform sizetype impl

* Clean up the debug handler code

* Update the buildscript

---------

Co-authored-by: Raven Szewczyk <[email protected]>
1.5.3
2023-11-23 20:58:11 +00:00
Raven Szewczyk f5906d082e Fix a wrong log4j config file being included in forgePatches (#86) 1.5.2 2023-10-13 18:45:12 +01:00
Raven Szewczyk ba6e459fdd Fix Display.isCloseRequested not resetting the flag upon call like in lwjgl2 (#83) 1.5.1 2023-09-24 17:46:44 +01:00
Raven Szewczyk 03c6021fca Installation simplification and ASM upgrade (#82)
* 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.
1.5.0
2023-09-23 13:38:17 +01:00
Raven Szewczyk 0fd9137540 [ci skip] Add latest spotless update to git-blame-ignore-revs 2023-09-23 11:47:33 +01:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
Raven Szewczyk 8a0d12a428 Update to mojang's lwjgl 3.3.2 distribution to match vanilla 1.20.2 (#81) 1.4.5 2023-09-23 11:30:20 +01:00
Raven Szewczyk f06ec1ec18 Synthesize ASCII escape codes for ctrl+alt+CHAR inputs too (#76) 1.4.4 2023-09-23 11:21:17 +01:00
ghostflybyandRaven Szewczyk be28e276b8 Fix macOS cmd + <key> not sending <key> pressed (#79)
* Fix macOS cmd + <key> not sending <key> pressed

* Cancel Super+key char events on non-mac platforms

* Update buildscript and fix wildcard imports

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-09-23 11:17:20 +01:00
Raven Szewczyk 4cf597e9b3 Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions

* Log the classloader and transformer exclusions for easier post-mortem debugging.
1.4.3
2023-09-04 17:16:13 +01:00
Raven Szewczyk 3bb91b8631 Fix mouse delta inputs (#70)
* Update buildscript

* Fix implementation of getDX/getDY/getDWheel to reset the value to 0 after a call.
1.4.2
2023-08-03 18:19:46 +01:00
Raven Szewczyk 520487da25 Patch compiler errors in generated code again 1.4.0 2023-06-03 10:42:08 +01:00
Raven Szewczyk 9df185517b Update autogenerated bindings 2023-06-03 10:38:53 +01:00
Raven Szewczyk 4286ae19f1 Fix some lwjgl type references, remove spaceinvaders 2023-06-03 10:33:46 +01:00
Raven Szewczyk 5edf02f6e4 Add missing Display functions
Closes #65
2023-06-03 10:20:45 +01:00
Raven Szewczyk d0b9a3df76 Fix AltGr handling on windows
It appears as mod=6, ctrl+alt codes shouldn't send the escape codes either.
1.3.9
2023-05-23 21:15:15 +01:00
Raven Szewczyk 7da764cb55 Add back jinput jars to the classpath, update list of supported java versions
Closes #61
1.3.8
2023-05-23 20:50:59 +01:00
Raven Szewczyk 87132b6211 Remove the no longer needed paulscode sound redirect
Closes #60
2023-05-23 20:42:07 +01:00
Raven Szewczyk fd9eeb78d0 Update buildscript 2023-05-23 20:36:40 +01:00
miozune 627acfc619 Add extensible enum for Et Futurum Requiem (#62)
* Add extensible enum for Et Futurum Requiem

* updateBuildScript & spotlessApply
1.3.7
2023-05-13 14:12:33 +02:00
miozune 0de42cc8bf Don't spam log when hotswap (#59) 1.3.6 2023-04-27 11:06:19 +02:00
Raven Szewczyk 807cca2ff3 LWJGL 3.3.2 stable update (#58)
* 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
1.3.5
2023-04-18 15:10:15 +01:00
Raven Szewczyk 558ccc849a Add extensible enums for reika's mods (#53) 1.3.4 2023-03-28 16:57:50 +01:00
Raven Szewczyk 7186edf692 Delayed key release fix (#52)
* 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
1.3.3
2023-03-26 12:58:27 +01:00
Raven Szewczyk 090d31b2c7 Add Java 20 to supported list 1.3.2 2023-03-25 19:32:25 +00:00
Raven Szewczyk e20c62ee3f Add lwjglx debug agent support 1.3.1 2023-03-24 11:50:30 +00:00
Raven Szewczyk ca9044a0f5 Use Unimixins instead of GTNHMixins (#49) 1.3.0 2023-03-18 21:36:30 +01:00
Raven Szewczyk 51d310ef2a Add a HotSwapAgent plugin to rerun asm transformers on hotswap (#46) 1.2.2 2023-03-16 18:57:49 +00:00
Raven Szewczyk 4d8f766320 Add backspace->char mapping 1.2.1 2023-03-16 14:51:41 +00:00
Raven Szewczykandgeeky_kappa 7b925da85c [WIP] IME support (#43)
* Reapply "Rewrite Keyboard to behave like lwjgl3 (#42)"

This reverts commit 0713491dd5.

* Everthing works now

* Add char mappings for Enter, Escape, Tab

Closes #44

---------

Co-authored-by: geeky_kappa <[email protected]>
1.2.0
2023-03-16 10:41:17 +00:00
Raven Szewczyk 0713491dd5 Revert "Rewrite Keyboard to behave like lwjgl3 (#42)"
This reverts commit 34175a0d09.
1.1.45
2023-03-15 15:06:56 +00:00
kappa-maintainer 34175a0d09 Rewrite Keyboard to behave like lwjgl3 (#42)
* Rewrite Keyboard to simplify lwjglx's stupid logic

* Add exception handling

* Add back combine key char

* Forgot to spotless
2023-03-15 14:59:45 +00:00
Raven Szewczyk 999b8c1d0d Compatibility and warning fixes (#41)
* 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.
1.1.44
2023-03-14 13:33:35 +00:00
Raven Szewczyk 47431f00e6 Include NEI in dev env 1.1.43 2023-03-14 12:35:52 +00:00
Raven Szewczyk 4d73711ded Add multibyte char event handling by duplicating key events when multiple chars happen after a single keypress (#40) 2023-03-14 12:35:27 +00:00
kappa-maintainerandRaven Szewczyk bc0bf578b5 Add workaround for input method users (#33)
* 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]>
2023-03-14 12:20:06 +00:00
Raven Szewczyk 6bfb77cd4c More phantom mouse movement fixes, this fixes the NEI Creative+ menu moving the camera.
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.
1.1.42
2023-03-13 18:43:31 +00:00
Raven Szewczyk 781e7920b5 Also ignore a mouse event on mouse regrabs 1.1.41 2023-03-13 17:57:49 +00:00
Raven Szewczyk 7aa1195f1e Ignore one mouse movement event after cursor ungrabbing to prevent a stale cursor position in GUIs. 1.1.40 2023-03-13 16:41:02 +00:00
Vadzim Dambrouski c47e58af4c Revert the glColor3ub hack (#30)
It's not needed for LWJGL version 3.3.2-20230304.162250-10 and up.
1.1.39
2023-03-11 15:06:54 +00:00