RobLoach / RobLoach/raylib-libretro

Implement RETRO_ENVIRONMENT_GET_LED_INTERFACE

Open Beginner friendly
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.hRETRO_ENVIRONMENT_GET_LED_INTERFACE case.

Reference: vendor/libretro-common/include/libretro.hstruct retro_led_interface.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.