Commit Graph
29 Commits
Author SHA1 Message Date
Luca BancaleandRaven Szewczyk bc44c8e3cd Don't use scancodes for certain keys (#292)
Co-authored-by: Raven Szewczyk <[email protected]>
2026-01-05 20:30:43 +00:00
Raven Szewczyk 3c95ff427e Fix key input handling in OpenComputers monitors (#290) 2026-01-05 13:04:15 +00:00
Raven Szewczyk 21a34f2b3e Remove the gtnhlib dependency (#288) 2026-01-05 12:16:38 +00:00
Raven Szewczyk 56d58696b2 Fix key display names in the settings menu (#287) 2026-01-05 12:02:08 +00:00
Raven Szewczyk 0fda85575f SDL3 Port for better keyboard&Wayland support - lwjgl3ify 3.0 (#202) 2025-11-27 18:18:54 +00:00
QuanhuZeYu 55377a8234 Fix UTF-32 codepoint input handling (#222) 2025-06-07 11:44:47 +00:00
Raven Szewczyk 3c03c17404 Fix missing key index mappings (#110)
* Fix missing key index->name mappings at runtime

* Update dependencies

* Keyboard init goes into ClientProxy

* Spotless
2024-01-20 09:27:09 +00:00
Raven Szewczyk 7bd0ab589d Fix key name display on non-QWERTY keyboard layouts (#105)
Closes #103
2024-01-05 21:13:44 +00:00
Jason Mitchell 7ba5867a7c Check for GLFW_KEY_UNKNOWN (#94) 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]>
2023-11-23 20:58:11 +00:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
miozune 627acfc619 Add extensible enum for Et Futurum Requiem (#62)
* Add extensible enum for Et Futurum Requiem

* updateBuildScript & spotlessApply
2023-05-13 14:12:33 +02: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
2023-03-26 12:58:27 +01: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]>
2023-03-16 10:41:17 +00:00
Raven Szewczyk 0713491dd5 Revert "Rewrite Keyboard to behave like lwjgl3 (#42)"
This reverts commit 34175a0d09.
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 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 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 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 0786ab5d27 Fix modifier keys having assigned characters
Closes #10
2023-02-01 12:53:51 +00:00
Raven Szewczyk 56e3a91419 Fix Ctrl+key event mapping
Closes #8
Closes #7
2023-01-31 09:59:41 +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 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 5ce9be4671 Apply spotless 2023-01-08 17:51:39 +00:00
Raven Szewczyk 77df6b7bc4 Add lwjglx 2022-10-11 20:08:14 +01:00