kappa-maintainer and Raven 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.
2023-03-13 18:43:31 +00:00
Raven Szewczyk
781e7920b5
Also ignore a mouse event on mouse regrabs
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.
2023-03-13 16:41:02 +00:00
Raven Szewczyk
8dadeb51d3
Add custom char mappings to Esc&Backspace to prevent them typing in chars into textboxes
2023-03-10 20:03:34 +00:00
Raven Szewczyk
ae8f15d6a6
Fix broken getEventDX/Y calculations
2023-03-04 11:19:40 +00:00
Raven Szewczyk
936ab4e55c
Tell Minecraft the initial framebuffer size on window creation
2023-02-11 21:57:09 +00:00
Raven Szewczyk
6cf4958efa
MacOS fixes
2023-02-11 21:35:35 +00:00
Raven Szewczyk
9d94c293a2
Add a couple of missing key mappings that should fix the double-input issue
2023-02-06 19:26:40 +00:00
Raven Szewczyk
1316781c77
Add a config for debug event logging for troubleshooting
2023-02-05 18:19:05 +00:00
Raven Szewczyk
d22836704f
Use instanceof pattern matching where appropriate
2023-02-05 17:45:31 +00:00
Raven Szewczyk
20ecd94040
Apply new spotless configs
2023-02-05 17:43:05 +00:00
Raven Szewczyk
b752b2932f
Use enhanced switch statements where appropriate
2023-02-05 17:41:04 +00:00
Raven Szewczyk
5b4af69330
Use lambdas and <> where appropriate
2023-02-05 17:38:52 +00:00
Raven Szewczyk
10a47eb89d
Use width/height provided by the launcher.
...
Closes #12
2023-02-02 19:36:59 +00:00
Raven Szewczyk
0786ab5d27
Fix modifier keys having assigned characters
...
Closes #10
2023-02-01 12:53:51 +00:00
Raven Szewczyk
55ecacf6b8
Fix wrong initial displayFocused/Visible state
2023-01-31 18:41:35 +00:00
Raven Szewczyk
d2f5348914
Add a config gui
2023-01-31 12:56:23 +00:00
Raven Szewczyk
9fe911bd6f
Fix fractional scrolling, add scroll inversion and speed controls
2023-01-31 10:37:50 +00:00
Raven Szewczyk
56e3a91419
Fix Ctrl+key event mapping
...
Closes #8
Closes #7
2023-01-31 09:59:41 +00:00
Raven Szewczyk
efe6b7a597
User-configurable window creation
2023-01-27 15:34:18 +00:00
Raven Szewczyk
1699195d36
Fix a bad native function in the lwjglx layer
2023-01-26 13:15:01 +00:00
Raven Szewczyk
b686516141
Remove invalid keycode spam
...
Fixes #4
2023-01-26 12:57:48 +00:00
Raven Szewczyk
6b76447903
Spawn a smaller window initially
2023-01-25 20:59:39 +00:00
Raven Szewczyk
ec3cef240c
Add missing Mouse functions
2023-01-25 20:10:51 +00:00
Raven Szewczyk
4a83e08878
Actually fix the teleporting mouse bug
2023-01-25 14:00:58 +00:00
Raven Szewczyk
be14456812
Re-center the cursor when exitting grabbed state
2023-01-25 13:36:56 +00:00
Raven Szewczyk
5186dc2b52
Implement fullscreen support
2023-01-25 13:29:55 +00:00
Raven Szewczyk
d0aa511c4a
Fix corrupted window icon
2023-01-25 13:07:15 +00:00
Raven Szewczyk
715072f909
Add dummy bytebuffers to the Mouse class for mods that access them via reflection
2023-01-22 10:46:06 +00:00
Raven Szewczyk
46e135ecf4
Add scrollwheel support
2023-01-18 16:58:45 +00:00
Raven Szewczyk
da1a79b6b5
Explicitly support up to 65k keys
2023-01-18 16:45:48 +00:00
Raven Szewczyk
742f9eb8c6
Fix NPE in Keyboard events
2023-01-18 16:13:36 +00:00
Raven Szewczyk
0356b1e2e1
Event queue fixes for dropping events
2023-01-18 16:06:03 +00:00
Raven Szewczyk
1ec924dcac
Add some missing lwjgl.util math/serialization util classes
2023-01-18 15:56:42 +00:00
Raven Szewczyk
89a4a563af
Fix mipmap generation code
2023-01-18 15:56:26 +00:00
Raven Szewczyk
f649173132
Fix a couple of crashes from the full pack
2023-01-18 14:19:42 +00:00
Raven Szewczyk
ebccef7125
Manually fix some compile errors in the dummy classes
2023-01-18 13:42:07 +00:00
Raven Szewczyk
717445786d
Null safety, fix event log spam, increse sorting index
2023-01-15 13:41:01 +00:00
Raven Szewczyk
846be6551d
Support shared contexts for the FML loading screen
2023-01-15 12:38:27 +00:00
Raven Szewczyk
e1baafb935
Add the paulscode lwjgl wrapper, make the OpenAL context thread-global
2023-01-15 10:52:37 +00:00
Raven Szewczyk
a964690c11
Don't double-poll events
2023-01-15 10:31:10 +00:00
Raven Szewczyk
dce65ecdb5
Improve Keyboard, add window icons
2023-01-15 09:56:49 +00:00
Raven Szewczyk
699a36d1e9
Convert some of the lwjgl2 copies into lwjgl3 calls
2023-01-15 09:06:26 +00:00
Raven Szewczyk
47042d9f89
Add missing AL10 functions
2023-01-14 22:27:53 +00:00
Raven Szewczyk
1b9ef21b10
Fix OpenAL context creation
2023-01-14 22:24:42 +00:00
Raven Szewczyk
2e90fac616
Enough transformers to get into a world
2023-01-14 21:41:26 +00:00
Raven Szewczyk
33fc6611b3
Add *Buffer transformations
2023-01-13 13:05:51 +00:00
Raven Szewczyk
a59d88da77
Switch to a different fork of lwjglx (still MIT licensed according to comments on top of the files)
2023-01-09 16:20:34 +00:00
Raven Szewczyk
707243e362
Fix a lot of compile errors, add a coremod name transformer
2023-01-08 19:50:55 +00:00