81 Commits

Author SHA1 Message Date
Luke Street 531b8f7d92 WIP: Add aurora::gx::dl::optimize 2026-06-12 12:19:41 -06:00
Luke Street 5143394381 Add GX_AUTO Aurora extension for GXBegin 2026-06-09 23:38:22 -06:00
Thomas Ryan fb156d78ca Fix GX indirect tile window rendering (#218)
Co-authored-by: Thomas Ryan <contact@thomasryan.ca>
2026-06-02 10:04:31 -06:00
SuperDude88 7ba0d010cc Implement GX2SetPolygonOffset
Co-authored-by: Lurs <2795933+Lurs@users.noreply.github.com>

Co-authored-by: Luke Street <luke@street.dev>
2026-05-30 10:25:07 -06:00
Luke Street 558ba0a987 Add RG8 and BC1 PC texture formats 2026-05-30 10:03:34 -06:00
Luke Street 498979df24 Add device haptics & gyro; virtual PADStatus API 2026-05-27 22:56:00 -06:00
Ash 2b07d554d7 feat(input): add API for retrieving if a LED is present (#205) 2026-05-23 10:03:32 -06:00
Ahmad Abdallah fb3cd81c23 Add per-field GXInitTexObj setters and user-data accessors (#177) 2026-05-12 14:09:07 -06:00
Phillip Stephens dad74e48d2 Cleanup clang-tidy warnings, attempt to fix 4GB file bug (#175)
* Cleanup clang-tidy warnings, attempt to fix 4GB file bug

* Add ranges header
2026-05-12 14:02:26 -06:00
Luke Street 22c2e5e55a Add shims for macOS 14 support 2026-05-10 00:27:54 -06:00
Phillip Stephens 022a271f71 Add new mapping for NSO Gamecube and special case it (#165)
* Add new mapping for NSO Gamecube and special case it

* No need to swap a/y for NSO Gamecube
2026-05-09 13:36:40 -07:00
Phillip Stephens bd46867176 Add support for setting default mappings per-type (#164)
* Add support for setting default mappings per-type

Adds a new enum and getter, as well as updates PADSetDefaultMapping to take the new enum.

I haven't set the mappings for each controller type just yet as we'll need to experiment with that.
That being said we can at least fix the gamecube mapping

* Correct GameCube controller default mapping (swap b/x)

* Fix struct forward decl

* Remove unnecessary todo
2026-05-09 12:53:40 -07:00
TakaRikka e88aa6b1b3 allow building with MTX_USE_PS (#162) 2026-05-07 10:25:01 -06:00
TakaRikka 69fcfbffc2 add a couple PS versions of vec functions (#161) 2026-05-06 21:18:44 -06:00
Phillip Stephens b78bbf3f58 Add controller charge state and ext button support (#159)
* Add controller charge state and ext button support

* revert field rename

* Make button fields consistent

* Actually add PADGetBatteryState

* Fix PADGetBatteryState return value

* Handle SDL_GetGamepadPowerInfo returning -1

* Use u32 instead of u16 for extButton so constants don't collide

* Add PADExtButton typedef
2026-05-06 01:37:26 -07:00
Luke Street 4cd8d2f009 Refactor viewport fit handling; use game viewport for RmlUi 2026-05-05 23:13:31 -06:00
Dávid Balatoni d7f36680d7 Typedef PADKeyButtonBinding and PADKeyAxisBinding for C projects (#158) 2026-05-05 16:52:32 -07:00
qwertyquerty c3ee086a47 kbm (#156) 2026-05-05 14:36:19 -07:00
Jasper St. Pierre 1def8fa1ef GXInitTlutObjData (#151) 2026-05-02 12:43:09 -06:00
Phillip Stephens 222545580e Second, hopefully better attempt at key bindings (#147)
* Second, hopefully better attempt at key bindings

* Fix PAD_ERR_NO_CONTROLLER check

* Harden PADRead against null controller pointers

* Move err status assignment
2026-05-01 00:57:47 -06:00
Dávid Balatoni d60916d3fa Remove unused include of string_view (#149)
It messes with C compilation, probably added by accident.
2026-04-30 16:56:44 -07:00
Phillip Stephens c77a4d0c3c Only call SDL_SetGamepadLED when colors have been changed, add function to check if a connected controller is a GC controller 2026-04-29 09:14:03 -07:00
Luke Street a6a3d3a65a Add GXDestroyCopyTex function (#141) 2026-04-26 14:01:24 -06:00
Phillip Stephens 135e976867 Add ability to set rumble intensity for non-gamecube controllers (#139)
* Add ability to set rumble intensity for non-gamecube controllers

* Fix PADGetRumbleIntensity check
2026-04-25 08:19:10 -07:00
CraftyBoss be1395c134 fix cardProbeFile not working properly with empty card directories, rename enum values in CARDFileType (#136) 2026-04-23 23:26:55 -07:00