Commit Graph

23 Commits

Author SHA1 Message Date
Luke Street 498979df24 Add device haptics & gyro; virtual PADStatus API 2026-05-27 22:56:00 -06:00
Ahmad Abdallah 3e3be56554 Fix GameCube controller detection (#208) 2026-05-23 20:21:48 -06:00
Phillip Stephens e3d4f82efc Revert m_isGamecube check to use VID/PID of controller rather than gamepad type 2026-05-13 17:52:14 -07:00
Luke Street 3643a369ad Split up configPath -> userPath/cachePath 2026-05-13 00:45:19 -06:00
Phillip Stephens 81822aeffa Don't emulate triggers on gamecube-style controllers by default 2026-05-11 21:42:04 -07: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 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
qwertyquerty 5fee2ac628 better bp caching, xf cache, optimize fifo with realloc and remove double lookups (#110)
* optimize fifo with realloc and remove double lookups

* bp cache, xf cache, and last pipeline ref cache

* remove double lookup from find/try_emplace

* change name

* Move xfRegCache

* Update gx_test_stubs.cpp

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-12 19:40:21 -06:00
PJB3005 21286ed94f Remove SDL gamepad map editing logic
No longer necessary with remapping UI, and actually breaks it.

Also use a SDL_GetGamepadType(ctrl) == SDL_GAMEPAD_TYPE_GAMECUBE where appropriate.
2026-03-27 18:44:47 +01: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 37ae1bf9b5 Replace usages of Log.report with helpers 2025-04-06 16:37:05 -06:00
Luke Street b07d55f71d Update fmtlib 2025-04-03 21:03:11 -06:00
Phillip Stephens 3d53dbed93 Merge pull request #1 from dbalatoni13/downgrade
Implement PADControlMotor
2025-04-03 15:26:08 -07:00
dbalatoni13 f713ca6750 Implement PADControlMotor 2025-04-03 23:59:14 +02:00
Luke Street ca3e4f5273 Update to latest upstream dawn 2025-04-03 00:12:22 -06: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 99bb9e5f83 input: Updates for absl 2022-08-29 17:06:38 -04:00
Phillip Stephens a3d04247e6 Attempt to fix PADSerializeMappings 2022-08-11 08:53:31 -07:00
Luke Street 8cbebc12b2 Disable A/B swap on standard controllers 2022-08-09 18:27:05 -04:00
Luke Street 9a725c89cf Initial commit 2022-07-27 11:25:25 -04:00