RobLoach / RobLoach/raylib-libretro
Implement RETRO_ENVIRONMENT_GET_LED_INTERFACE
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 38
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Install a retro_led_interface with a set_led_state(led, state) callback. A no-op handler is enough to silence core warnings; a real implementation could mirror state to gamepad / keyboard LEDs if a platform API is available.
Stub location: include/raylib-libretro.h — RETRO_ENVIRONMENT_GET_LED_INTERFACE case.
Reference: vendor/libretro-common/include/libretro.h — struct retro_led_interface.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in include/raylib-libretro.h at the RETRO_ENVIRONMENT_GET_LED_INTERFACE case, then read struct retro_led_interface in vendor/libretro-common/include/libretro.h. Implement the retro_led_interface with a set_led_state callback, using a no-op handler as the initial completion target. Done means core LED-interface warnings are silenced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 82/100