Post #3434654
2025-09-08 21:15 UTC
Ok, all of that is done now
- The stick is now clipped to an octagon
- It also snaps to the corners
- There's haptic feedback when it does
And, N64 stick range has been fixed and it and Saturn both have deadzones now. PSX may need it too, not sure offhand.
In theory I could adjust the touch stick to use the actual octagon shape N64 controller uses (this one is a regular octagon, so matches GameCube controller and Wii Nunchuk+Classic Controller, but not N64 - N64 one has its corners at (0.8; 0.8) instead of approx. (0.7; 0.7).
However, not sure there's much of a point.
Replies (1)
-
@alice@mk.nyaa.place 2025-09-16 02:18
I implemented #include for shaders. While in theory I could make use of ARB_shading_language_include, the problem is I have to list those includes ahead of time, meaning that I have to parse the file and look for the includes... then load those and look there as well, etc. So... I decided to just implement my own tiny preprocessor - just expanding includes and doing nothing else. It's fairly janky - e.g. this: /* #include "something.inc" */ where something.inc is: */ blah /* will fail. But - oh well.