Skip to content

[Feature Request] Implement SDL_SetGamepadLED() on Android. #14497

@MAJigsaw77

Description

@MAJigsaw77

Currently, ANDROID_JoystickSetLED is just a stub returning SDL_Unsupported(), so any game attempting to control controller lighting on Android will fail. On devices running Android 12+ (API 31), this is limiting because the platform exposes LightsManager, which allows control over device lights.

Implementing LED support via LightsManager inside ANDROID_JoystickSetLED would bring Android in line with the other backends. The function could enumerate the controller lights, apply a LightState, and return success where supported. With this, existing LED APIs would start working on modern Android hardware with no changes to the public API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions