Skip to content

Implement rumble and setLED for gamepads and joysticks#53

Merged
MAJigsaw77 merged 1 commit intomasterfrom
feature/gamepad-improvements
Mar 25, 2026
Merged

Implement rumble and setLED for gamepads and joysticks#53
MAJigsaw77 merged 1 commit intomasterfrom
feature/gamepad-improvements

Conversation

@MAJigsaw77
Copy link

@MAJigsaw77 MAJigsaw77 commented Mar 21, 2026

This pr implements rumble and setLED on gamepads and joysticks by using the following:

  • For gamepads it uses SDL_RumbleGamepad and SDL_SetGamepadLED.
  • For joysticks it uses SDL_RumbleJoystick and SDL_SetJoystickLED.

This should also fix some odd behaviour where the guid on joysticks would cause memory leaks aswell as overall better handling over gamepads and joysticks.

@MAJigsaw77 MAJigsaw77 force-pushed the feature/gamepad-improvements branch from a917585 to e7679bb Compare March 25, 2026 14:01
@MAJigsaw77 MAJigsaw77 merged commit 89cef3a into master Mar 25, 2026
@MAJigsaw77 MAJigsaw77 deleted the feature/gamepad-improvements branch March 25, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant