14 Commits

Author SHA1 Message Date
Luke Street 498979df24 Add device haptics & gyro; virtual PADStatus API 2026-05-27 22:56:00 -06:00
Luke Street bd464e536d PAD: Persist controller->port mappings (#154) 2026-05-04 23:32:21 -07:00
Lurs 0d3c6c77ab Fix FPS with controllers on Windows with no LEDs (#145) 2026-04-29 12:21:40 -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
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
Phillip Stephens dedf11fdeb Cleanly shutdown aurora::input by telling all registered controllers to stop their rumble motors (#132) 2026-04-21 19:22:28 -07:00
Phillip Stephens c21a7f75ab Add experimental mouse API (#126)
* Add experimental mouse API

* Add aurora::core library for aurora::ms

* Add absl::flat_hash_map library for aurora::ms

* Add comment clarifying MS is an aurora extension

* Clear MSStatus::buttons to prevent spurious values

* Minor cleanup for MSRead and MS_BUTTON_* bits

* Switch to Poll -> Read paradigm

* Clear mouse scroll state before polling for events
2026-04-16 12:57:10 -07:00
Phillip Stephens c17903d53d Add support for Gyros and controller LED colors (#124)
* Add PADGet/SetColor

* PAD Gyro API

* Fix sensor enum
2026-04-15 10:33:42 -07:00
Max Roncace db43a26884 Fix trigger regression and clean up mappings save/load code (#76)
* Fix incorrect variable names in trigger reading

* Clean up controller mappings saving/loading

* Increment version
2026-03-31 18:21:58 -07:00
Max Roncace 626fc50dd3 Implement controller axis remapping 2026-03-31 18:11:22 -04:00
Phillip Stephens 4b9bcbb05e Split pad into it's own SDK library with the rest 2025-04-14 17:31:48 -07:00
Luke Street 1b088e79e8 Update to SDL3 & latest imgui 2025-04-02 19:57:16 -06:00
Phillip Stephens ca822a7679 Input: Fix bad assumption about init
If we try and initialize anything controller related before the event
subsystem is initialized we lose all controllers detected on startup.
To solve this we simply wait until the first frame is about to be rendered
*then* initialize the controller subsystems
2023-01-21 19:48:26 -08:00
Luke Street 9a725c89cf Initial commit 2022-07-27 11:25:25 -04:00