Skip to content

Conversation

@Quantx
Copy link

@Quantx Quantx commented Jun 27, 2025

Extended the implementation of SDL_xboxjoystick to support multiple types of gamepads.

Looking for a good way to implement an interface for controlling the lights on the Steel Battalion controller. A hypothetical function for it might have the following signature void sbc_set_light(SDL_Joystick * joystick, enum SBC_LIGHT light, Uint8 brightness);. Followed by void sbc_update_lights(SDL_Joystick * joystick); to actually transmit the new light values to the controller. But I'm not really sure how to implement this on top of SDL.

@Quantx Quantx marked this pull request as draft June 27, 2025 09:00
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