Pieter-Jan Briers
d7a57eba6b
Remove more uses of path.string() ( #220 )
2026-06-03 20:30:24 -06:00
Ahmad Abdallah
f4eb2ee151
Add device accelerometer ( #214 )
2026-05-29 23:09:49 -06:00
Luke Street
498979df24
Add device haptics & gyro; virtual PADStatus API
2026-05-27 22:56:00 -06:00
Ahmad Abdallah
5bb3ee66b0
Fix missing break in Xbox 360 default pad mapping ( #209 )
2026-05-24 12:06:42 -06:00
Ash
2b07d554d7
feat(input): add API for retrieving if a LED is present ( #205 )
2026-05-23 10:03:32 -06:00
Olivia!!
5fd7eea49b
If a digital shoulder button is pressed, forcibly set analog value to max. ( #193 )
2026-05-17 09:06:33 -04:00
Luke Street
3643a369ad
Split up configPath -> userPath/cachePath
2026-05-13 00:45:19 -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
Phillip Stephens
4a801aa35b
Disable digital trigger emulation if digital triggers are set
2026-05-11 22:52:57 -07:00
Luke Street
0e6f08301a
PAD: Map Z to R1/RB, don't map TL/TR
2026-05-11 23:47:22 -06:00
Phillip Stephens
d172f88dc3
Fix XBox 360 and One controller mappings (I hope)
2026-05-11 21:38:00 -07:00
qwertyquerty
e9847e8e01
fix kb ( #171 )
2026-05-10 17:21:41 -06:00
Phillip Stephens
9a79c8a0da
Fix GameCube mappings for digital L/R and Z
2026-05-09 16:34:09 -07: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
Phillip Stephens
1ff4041a4b
Refactor keyboard and controller bindings to use SDL streams instead of FILE primitives ( #160 )
2026-05-06 10:59:18 -07: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
qwertyquerty
c3ee086a47
kbm ( #156 )
2026-05-05 14:36:19 -07:00
Luke Street
bd464e536d
PAD: Persist controller->port mappings ( #154 )
2026-05-04 23:32:21 -07:00
Luke Street
935756010c
PAD: Fix trigger suppression threshold & cleanup
2026-05-03 17:10:57 -06:00
Luke Street
b968ca0bc5
PAD: Suppress held input on PADBlockRead(false)
2026-05-01 21:32:40 -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
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
Luke Street
2622058846
Revert "Enable gamepad support in ImGui"
...
This reverts commit 7784b6fc95 .
2026-04-27 23:42:44 -06:00