Commit Graph

47 Commits

Author SHA1 Message Date
cryy
0ef59057af Add missing row width calculation 2025-04-22 20:21:02 +02:00
cryy
9ebd1a9cea Increase displayed lines for newline support 2025-04-22 20:17:25 +02:00
cryy
bb5c6976c0 Replace KeyInfo with String
- KeyInfo was leftover code from toying around with various implementations. String is sufficient in current implementation.
2025-04-22 20:16:08 +02:00
cryy
041eeb29aa Make special key constant private 2025-04-22 19:39:56 +02:00
cryy
662bac3053 Finalize virtual keyboard screen
- Added backspace support
- Added space support
- Added new line support
- Added caps support
- Added symbol support
2025-04-22 19:36:26 +02:00
cryy
50103ce4cf Move cursor to end of text in book 2025-04-20 19:53:26 +02:00
cryy
9e12381471 Implement basic virtual keyboard support
- Listener for clicks inside of text fields and other text-based screens
- Virtual keyboard screen in a QWERTY layout
2025-04-18 19:43:01 +02:00
Martin Prokoph
f004f0a32d compat: improve/fix Emotecraft compat 2025-03-27 00:00:29 +01:00
Martin Prokoph
6007ef315d fix: controller options button not being clickable 2025-03-26 19:53:31 +01:00
Martin Prokoph
1c26eeed5e fix: catch errors in camera thread
- Solves camera movement breaking entirely when encountering an error
2025-02-15 22:20:29 +01:00
Martin Prokoph
78900ac83e Fix movement while riding boats and other entities 2024-12-11 18:08:40 +01:00
Martin Prokoph
7d791fac89 Port to 1.21.4
- For once, this has been easy :)
2024-12-06 21:11:39 +01:00
Martin Prokoph
bf60595c12 Merge pull request #322 from TeamMidnightDust/architectury-1.21
Sync translations
2024-12-06 21:02:04 +01:00
Martin Prokoph
b96547dafb Merge pull request #319 from FlocosDEV/architectury-1.21
Create pt-br.json
2024-12-06 21:00:56 +01:00
Martin Prokoph
ab869f4f76 First and final 1.21.3 release
- Moving on to 1.21.4
2024-12-06 20:53:14 +01:00
Martin Prokoph
84df412162 Merge pull request #321 from TeamMidnightDust/architectury-1.21
Add @Kichura 's workflow improvements to 1.21.3 branch
2024-12-05 22:10:05 +01:00
Gabriel
b835a6c4ca Create pt-br.json
Create pt-br.json
2024-11-19 21:36:33 -03:00
Martin Prokoph
3eec0dda4a Update ObsidianUI to my 1.21.3 port 2024-11-18 14:16:44 +01:00
Martin Prokoph
a23e8b8975 Initial port to 1.21.3
- Still waiting for SpruceUI to update, only use the advanced config in the meantime
2024-11-14 21:43:19 +01:00
Kichura
1595fffc2c Change Java version reference to 21. 2024-10-29 22:52:02 +01:00
Martin Prokoph
953df7a8c4 Update MidnightLib & Fix various CompatHandlers 2024-10-20 17:21:40 +02:00
Martin Prokoph
a3b8d7cbb5 Various fixes
- Fix #309 (Missing translations)
- Fix controller input always being read
- Improved injection of options button (Closes #305)
2024-10-20 16:59:26 +02:00
Martin Prokoph
24d169b4c2 First Beta for 1.10.0!
- Separate movement and camera joysticks to fix boat movement (again)
- Fixed crashes with various mods
- Compatibility for Sodium 0.6.0
- Updated MidnightLib to 1.6.1
2024-08-30 12:07:23 +02:00
Martin Prokoph
c0af00f2a3 Cleanup gradle files 2024-07-25 11:10:36 +02:00
Martin Prokoph
333fc7f300 Sensible screen scrolling speeds 2024-07-25 11:07:29 +02:00
Martin Prokoph
dbb6e926e6 Add methods for instantiating storage 2024-07-22 16:20:38 +02:00
Martin Prokoph
78ada44d73 More code improvements 2024-07-22 15:57:43 +02:00
Martin Prokoph
a55e506af0 API hooks for movement and screen pages 2024-07-22 15:23:20 +02:00
Martin Prokoph
540920009f Re-enable camera movement API 2024-07-22 13:35:03 +02:00
Martin Prokoph
044bbfe9ed Use more enums instead of integers 2024-07-22 13:19:09 +02:00
Martin Prokoph
f782e17349 Improve code further 2024-07-22 11:51:57 +02:00
Martin Prokoph
abcbf20eaf Butter-smooth joystick input
- Handle joysticks separately from buttons and triggers
- Joysticks now get updated 1000 times per second
2024-07-21 21:37:46 +02:00
Martin Prokoph
86c96c8a3e Fix mouse back button not being rebindable 2024-07-21 19:32:02 +02:00
Martin Prokoph
310af56162 Improve look keybinds
- Now work regardless of the controller camera mode
- Can now be found in MidnightControls category instead of Minecraft vanilla's
-
2024-07-21 19:25:01 +02:00
Martin Prokoph
cd416cf022 Improve Mouse Emulation & EMI compat
- Closes #294
2024-07-21 18:37:56 +02:00
Martin Prokoph
78df229dd2 Finalize fix for #296 2024-07-21 17:31:39 +02:00
Martin Prokoph
9bcc63fcef Easy copying of controller GUID
- Added a button to copy the current controller GUID (helps with GUID mismatches between MC and mapping programs)
- Added an advanced option to exclude controllers from the GUI by regular expressions (defaults to Touchpad, Keyboard, Pen and Finger)
2024-07-21 17:23:14 +02:00
Martin Prokoph
202ff888be Fix broken Touchscreen behavior 2024-07-18 19:16:36 +02:00
Martin Prokoph
da467619cb Working Neoforge support
Yay!
2024-07-18 14:28:30 +02:00
Martin Prokoph
0d2bd6e4cb Remove non-deprecated references of LambdaJCommon
Sorry Lambda!
This is needed for Neoforge support and to reduce the file size in the future.
2024-07-18 00:27:32 +02:00
Martin Prokoph
241228dcde Further cleanup 2024-07-17 23:43:07 +02:00
Martin Prokoph
45149af859 Improved Cursors
- Cursor position is now float instead of integer, making movement way smoother
- Added a fallback cursor to use in Wayland sessions
2024-07-17 23:23:05 +02:00
Martin Prokoph
bdb3c36518 Reduce code complexity 2024-07-17 20:53:24 +02:00
Martin Prokoph
f82ee2e24a Get Fabric working again, various improvements 2024-07-17 17:05:13 +02:00
Martin Prokoph
27221b62cd Architectury build system & huge code cleanup 2024-07-17 14:26:17 +02:00
LambdAurora
7bfff00841 🔧 Fix some dependency management. 2020-01-14 11:33:19 +01:00
LambdAurora
738d094fb1 💥 Lot of breaking changes. 2020-01-04 15:19:02 +01:00