alexytomi
214b5a5204
SDL: Add back proper checks for GLFW/SDL switch
2025-09-20 10:11:39 +08:00
alexytomi
d4fa037256
SDL: Move logic to surface for less boilerplate and optimization
2025-09-20 10:10:10 +08:00
alexytomi
12e0e49785
GLFW/SDL: Enabled together
2025-09-14 01:40:31 +08:00
alexytomi
24ea0c77d6
fix: Legacy4J GLFW controller enable
...
Legacy4J previously was not being detected by the GLFW implementation as
a mod that was using GLFW controllers, thus leading it to use vanilla
keyboard+mouse emulation. This fixes that.
This is still kinda bugged on L4J settings menu but this only applies
when outside of a world. I can't figure out why L4J does this only on
their menus, I probably wont either, SDL doesn't have this.
2025-09-13 21:36:06 +08:00
alexytomi
70cd97127c
[BROKEN][FIXME]SDL: Add SDL2 compatibility layer
...
This doesn't actually work, it needs modifying in SDL_dynapi.h so we can
select our libSDL3.so ourselves.
Forking SDL3 sounds like a horrible idea just to change the module name.
2025-09-13 19:59:37 +08:00
alexytomi
b161cb2e40
SDL: Refactor and remove useless code
2025-09-13 01:31:55 +08:00
alexytomi
bbcbeeb4df
[HACK][REVERTME] fix: l4j doesn't init SDL
...
Legacy4J has code that traps us inside GLFW only, soo this is a hacky
workaround. It works but I'd prefer we don't have it at all.
2025-09-13 00:52:13 +08:00
alexytomi
83de94ec73
SDL: Reorganize code a bit
2025-09-13 00:50:38 +08:00
alexytomi
6618192c77
SDL: Add some attribution to android-project source files
...
This isn't required but it seems like a good idea
2025-09-01 23:33:22 +08:00
alexytomi
9ef79f4efb
SDL: Use stable version 3.2.20
2025-09-01 23:33:17 +08:00
alexytomi
f59aeb1013
fix(actions): Build with SDL properly
2025-09-01 23:19:29 +08:00
alexytomi
46bb92e651
SDL: Better docs on pref and why we dont use HIDDevice
2025-09-01 23:19:27 +08:00
alexytomi
d05e50e642
SDL: Add switch to swap between GLFW and SDL
2025-09-01 22:34:09 +08:00
alexytomi
16eb54ca25
Revert "[REVERTME]: Break GLFW fto test SDL"
...
This reverts commit 60f05781f9120ec0e1136c67fcc859b652215766.
2025-09-01 22:33:57 +08:00
alexytomi
be665c9c21
SDL: Use SDL latest and passthru input
2025-09-01 22:33:57 +08:00
alexytomi
0135991824
SDL: Make it compile with SDL submodule instead of AAR
...
Uses personal repo for testing
2025-09-01 22:33:57 +08:00
alexytomi
7c50052ff5
[REVERTME]: Break GLFW fto test SDL
2025-09-01 22:33:57 +08:00
alexytomi
99546e033c
fix(InputDevice): Oculus controller getName nullptr crash
...
Oculus controllers makes a motion event that doesn't have a device
attached to it. Weird but ok.
2025-09-01 22:33:57 +08:00
alexytomi
5befc690a1
fix(SDL): Rewrite Android to SDL passthru code
2025-09-01 22:33:52 +08:00
alexytomi
3e81b15169
fix(MainActivity): Fix not being in fullscreen
...
For some reason it was no longer in full screen when starting the game,
this fixes that
2025-09-01 22:32:42 +08:00
alexytomi
26d936ffcc
[WIP] Merge pull request #6462 from isXander/sdl
...
This depends on the specific version of SDL shipped here, the changes to
SDL required to make this work has been reverted due to being a breaking
change.
See here for more info:
https://github.com/libsdl-org/SDL/pull/11891
fix(workflow): Use Java 21 for the entire build
remove overkill checks
add checks for instantiation and static method calls
feat(SDL): Update strings
fix(SDL): Include libSDL3.so
This was put in the ANGLE module by the original commit which now
doesn't exist so it had to be readded.
2025-09-01 22:32:38 +08:00
alexytomi
126884cf49
Merge pull request #79 from AngelAuraMC/fix/gradle-build
...
fix(gradle): Finally fix getGitHash once and for all
2025-08-24 09:55:59 +08:00
alexytomi
751b5abf57
Merge pull request #74 from AngelAuraMC/fix/gl0.0-fix-crash
...
fix(GLFW): Fixx NullPtr when using zink without turnip
2025-08-24 09:55:46 +08:00
alexytomi
694505de22
fix(gradle): Finally fix getGitHash once and for all
...
Hopefully
2025-08-23 22:49:23 +08:00
alexytomi
3798dec08f
fix(GLFW): Fixx NullPtr when using zink without turnip
2025-08-22 00:08:20 +08:00
alexytomi
57cb617a15
Merge pull request #70 from AngelAuraMC/feat/use-controlmap-for-chat
...
[Feat] Use controlmap for chat
2025-08-17 18:14:35 +08:00
alexytomi
f395edda95
etc(ControlMap): Remove unneccessary code
...
Was used to fix an issue with something before with the entire
nativeSendChar/Mods being frozen up, no longer needed
Also removing the unused imports n ControlButton
2025-08-15 23:01:26 +08:00
alexytomi
947afefbd9
etc(ControlMap): Minor touchups on documentation and names
2025-08-15 23:00:54 +08:00
alexytomi
2b8a8722fb
finish(ControlMap): Make caps/shift capitalize, use primitive array instead of hashmap
2025-08-15 23:00:54 +08:00
alexytomi
a28904d67f
WIP(ControlMap): Add documentation and sendKeyPress keychar overload
2025-08-15 22:58:32 +08:00
alexytomi
717aa001b3
WIP(ControlMap): Move logic from EfficientAndroidLwjglKeycode to ControlButton
2025-08-15 22:58:32 +08:00
alexytomi
8e97d72a9b
[broken]feat(ControlMap): Controlmaps now also send text in chat
...
Also applies to basically all other text boxes.
Due to limitations in how holding keys work, all presses cannot be
canceled by moving your hand out of the control button.
[BROKEN]: No capitilization from caps/shift lock
2025-08-15 22:58:32 +08:00
alexytomi
4b0ccece5b
Merge pull request #67 from AngelAuraMC/fix/revert-forced-grabbing
...
fix(Pointer): Simplify code, fix #58..again
2025-08-12 07:22:22 +08:00
alexytomi
4c7098a1db
fix(Pointer): Simplify code, fix #58..again
...
Faulty testing again. sorry guys
2025-08-11 20:37:07 +08:00
alexytomi
3a8db25943
Merge pull request #65 from AngelAuraMC/update/readme
...
Change download link to nightly.link
2025-08-08 08:50:30 +08:00
alexytomi
453a07711e
Change download link to nightly.link
...
Signed-off-by: alexytomi <60690056+alexytomi@users.noreply.github.com >
2025-08-07 00:22:58 +08:00
alexytomi
223ba908f8
Merge pull request #59 from AngelAuraMC/fix/revert-forced-grabbing
...
fix(Touchpad): Fix #58
2025-08-03 21:14:35 +08:00
alexytomi
9caa9f14c8
fix(Touchpad): Fix #58
2025-08-01 23:36:25 +08:00
alexytomi
974a039c07
Merge pull request #51 from AngelAuraMC/fix/revert-forced-grabbing
...
fix(Pointer/Capture): Make non-opportunistic grabbing opt-in
2025-07-31 15:23:56 +08:00
alexytomi
f37ebfada1
fix(Pointer): Properly handle hold-clicks
2025-07-31 10:06:51 +08:00
alexytomi
19b81e10ea
fix(SideDialog): Didn't properly set MouseGrabSwitch state
2025-07-31 10:06:51 +08:00
alexytomi
7fe42302b6
fix(Touchpad): Edgecase scenarios caused the touchpad to still appear
...
Such a scenario is the demo mode popup to buy the game
2025-07-31 10:06:51 +08:00
alexytomi
7f79283bcd
fix(SideDialog): Didn't properly register AndroidPointerCapture
2025-07-31 10:06:51 +08:00
alexytomi
6e6c20c450
fix(Pointer/Capture): Make non-opportunistic grabbing opt-in
...
Adds a new config option whether or not you want your mouse to be able
to click your touch controls! Default is you can!
Should also now let DeX users get their cursor out of the window by just
moving it by default.
This reverts commit 7631e3c9e7 .
2025-07-31 10:06:50 +08:00
alexytomi
6e83225651
Merge pull request #55 from AngelAuraMC/testing/use-fcl-old-angle
...
update(ANGLE): Use FCL's ANGLE
2025-07-31 10:02:45 +08:00
alexytomi
1850671e70
Merge pull request #57 from AngelAuraMC/fix/HolyRendererString
...
fix(Renderer/Default): Check asset ID instead of mcver
2025-07-31 10:02:27 +08:00
alexytomi
9c9440dfbf
fix(Renderer/Default): Check asset ID instead of mcver
...
This is now based on the assetIndex.id that mojangs jsons have. I am
assuming inheritedFrom to always be present, if it isn't it'll treat it
like vanilla but it should still work due to the insertSafety setting
that field
This fixes the code breaking on versions with letters in them
Please finally don't break
2025-07-31 00:51:06 +08:00
alexytomi
bafef9ad77
fix(Tools/getVersionInfo): Copy inheritsFrom too
2025-07-31 00:31:19 +08:00
alexytomi
e0b30a04c9
Merge pull request #56 from AngelAuraMC/fix/HolyRendererString
...
fix(Tools/mcVersiontoInt): Fix edgecase for versions like 1.21
2025-07-29 16:53:33 +08:00
alexytomi
c7b38f1e9b
fix(Tools/mcVersiontoInt): Fix edgecase for versions like 1.21
2025-07-29 16:49:02 +08:00