Commit Graph

338 Commits

Author SHA1 Message Date
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
Martin Prokoph
9e3b2ae060 Update version number 2024-06-18 19:34:28 +02:00
Martin Prokoph
838fab2c63 Update ObsidianUI & Fix resourcepack warning 2024-06-18 19:33:57 +02:00
Martin Prokoph
2cbe02ebb2 Switch to ObsidianUI
Also remove unnecessary imports.
2024-06-16 18:21:20 +02:00
Martin Prokoph
ba74d98109 Port to 1.21 2024-06-13 20:35:23 +02:00
Martin Prokoph
d3a787090e Always respect minor version in name 2024-04-29 20:55:08 +02:00
Martin Prokoph
00780e13fd Apply mixins conditionally & bump version 2024-04-29 20:51:50 +02:00
Martin Prokoph
a5554ee21d Improve Ranged Combat code 2024-04-29 20:24:42 +02:00
Martin Prokoph
728a2d4603 Merge pull request #272 from kabliz/eye_tracking_range_combat
Improved Range Combat While Eye Tracking
2024-04-29 20:05:21 +02:00
Martin Prokoph
eb54245c21 Merge branch '1.20.5' into eye_tracking_range_combat 2024-04-29 20:05:05 +02:00
Martin Prokoph
e6fcd1469c Port to 1.20.5
Also implemented some nice small fixes :)
2024-04-29 20:03:09 +02:00
Kabliz
8a30b5ee73 Improved Range Combat While Eye Tracking
Adjusted the dynamic camera sensitivity while using an item intended to be used at a distance: the bow, crossbow, trident, and splash potion. The deadzone is now ignored, making slight adjustments to aim a little easier. The deadzone was meant to assist mining and building, but it is a hindrance in ranged combat.
2024-03-17 12:04:24 -07:00
Martin Prokoph
43ffd89a61 Merge pull request #271 from Androser420/1.20.4
Fix Toggle Sprint/Sneak.
2024-03-10 17:07:53 +01:00
Androser420
8a9866f92f Update InputHandlers.java 2024-03-10 00:26:57 +01:00
Androser420
b12413cbcd Update ButtonBinding.java 2024-03-10 00:26:01 +01:00
Martin Prokoph
9f62538197 Replace FAQ with wiki link 2024-02-14 23:42:45 +01:00
Martin Prokoph
ba5143403d Add issue template for mod support 2024-02-14 12:52:16 +01:00
Martin Prokoph
454afa92ec Update issue templates 2024-02-14 12:45:48 +01:00
Martin Prokoph
8e05b658c2 Bump version v1.9.4 2024-02-14 10:48:28 +01:00
Martin Prokoph
cba8a4e1d4 Fix EMI compat 2024-02-14 10:47:52 +01:00
Martin Prokoph
dd0795bc56 Fix virtual mouse 2024-02-14 10:36:27 +01:00
Martin Prokoph
566c26ac17 Bump version 2024-02-03 10:38:54 +01:00
Martin Prokoph
e203e26c3f Fix #255, #257 and likely #258 2024-02-03 10:21:37 +01:00
Martin Prokoph
797d1463a6 Update README.md
Add FAQ regarding orange controller names
2023-12-31 11:11:24 +01:00
Martin Prokoph
3e665a14fd MidnightControls 1.9.2 - Fix #251 2023-12-31 11:00:14 +01:00
Martin Prokoph
2b143c6bf1 Add automatic uploading to gradle script 2023-12-29 12:18:14 +01:00
Martin Prokoph
ab317f3d31 Touch-related fixes 2023-12-28 10:30:43 +01:00
Martin Prokoph
2c11a23914 Add new settings to options screen 2023-12-23 23:15:39 +01:00
Martin Prokoph
6df3e4454b Mixed input & Fix multiple issues
- Update to 1.20.4
- Touch can now be used in controller mode (especially nice on Steam Deck)
- Added option to choose between camera modes (Flat vs. Adaptive, addresses #232)
- Fixed broken button binding (#235)
2023-12-23 23:01:49 +01:00
Motschen
afee0b407d Fix #210 v1.9.0 2023-10-03 22:32:03 +02:00
Motschen
d32aefccac Wait for Wynntils keybinding registration
- When Wynntils is present, the keybindings are now loaded only after the keybinding category was created, allowing them to be handled by MidnightControls
2023-10-03 21:37:28 +02:00
Motschen
98797b03ea Get modded keybinds from vanilla instead of fabric
Additional keybinds are now loaded from the vanilla list instead of fabric's modded list
- Better support for mods not using the Fabric Keybinding API (Closes #218)
- Also now supports Forge mods via Sinytra Connector
- Added configurable list to exclude certain keybinds
2023-10-03 18:49:09 +02:00
Motschen
e1d53ee463 Completely rewritten joystick input
- Joystick input is now processed using polar coordinates, resulting in better accuracy and fixing tons of issues (Fixes #135, #138, #186 & #180)
- Camera movement is now way smoother by including the previous stick values in the calculation (Fixes #217 & #167)
- updateMappings() is now called asyncronously (Closes #219)
2023-10-03 17:36:30 +02:00
Motschen
233ae36343 Even more touchscreen improvements
- Fixed #222
Touch-specific improvements
- Interactive items can now be used correctly
- Drop button now works
- Most Keybinds will now work correctly while in touchscreen mode
- Added Touch category to simple options screen
2023-10-02 20:33:12 +02:00
Motschen
eb4f30913a Update pause button texture & version number 2023-09-30 21:23:43 +02:00
Motschen
1186c9c241 Another round of improvements
Mostly related to touch screen support
- Added selection outlines for Break-at-Finger mode
- Breaking blocks/interacting with entities will now just check if the target changed, not the finger position
- Added the ability to create custom touch buttons out of ButtonBindings
- Redesigned top touch buttons
- Added emote touch button when Emotecraft is installed
- Updated SpruceUI
- Removed old mixins
2023-09-30 20:27:03 +02:00
Martin Prokoph
de7cf8a307 Merge pull request #225 from m-jxx1/1.20
Update ko_kr.json
2023-09-30 10:13:49 +02:00
MJ
15510b5997 Update ko_kr.json 2023-09-25 13:28:32 +09:00
Motschen
cb56632ec4 Port to 1.20.2 & Revamp Touchscreen Input
- Port to 1.20.2
- Fixed virtual mouse cursor sometimes being hidden behind objects (closes #221)
- Touchscreen is now actually usable (in theory, I'll have to wait a few weeks for my tablet to arrive to test further)
  - Made it possible to place/break blocks and interact with entities
  - Added a touchscreen mode for interacting with entities and blocks at the position the click was registered at, not just at the crosshair
  - Added a close button to screens without their own back button
- Will be officially released when SpruceUI is updated
2023-09-23 23:13:13 +02:00
Martin Prokoph
9d11d08807 Merge pull request #215 from ImVietnam/patch-1
Add vi_vn.json
2023-09-23 12:18:07 +02:00
Martin Prokoph
54f731c7f0 Merge pull request #209 from notlin4/patch-2
Update Traditional Chinese
2023-09-23 12:17:17 +02:00
Martin Prokoph
3e3ab8743d Merge pull request #208 from kabliz/eyetracking
Eye Tracking Support, No-Hands Minecraft
2023-09-23 12:16:35 +02:00
I_am_Vietnam
ae3d6cc846 Update vi_vn.json 2023-07-04 11:10:33 +07:00
I_am_Vietnam
00c68004e8 Update vi_vn.json 2023-07-03 14:44:21 +07:00
I_am_Vietnam
f0f6a443bf Update vi_vn.json 2023-07-03 14:40:57 +07:00
I_am_Vietnam
d8ff51b3d3 Update vi_vn.json 2023-07-03 12:16:45 +07:00
I_am_Vietnam
0315784a47 Update vi_vn.json 2023-07-03 12:15:56 +07:00