mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-13 04:51:38 -10:00
A pack names the image that shows an LED with overlayN_descM_led = K (1-based, as ledN_map counts): under led_driver = "overlay" that image shows while the core has LED K lit, and a pack that names any LED image is not mapped at all. For a pack that names none, ledN_map still picks slots of the page, but only the image of a "nul" button answers to it: a desc that does something when pressed is never an LED, so a config made for an LED overlay leaves a gamepad pack's controls where they are. The LED driver reports the core's LEDs (input_overlay_set_led) and input/input_overlay_leds.c decides what they hide. The per-slot visibility array, its enum and the parameter threaded through the alpha and poll paths are gone. overlay_visibility_bounds_test now builds input_overlay_leds.c with the LED driver and pins the map/named/off cases and the page bound; overlay_led_hidden_test runs a mapped pack and a named pack under Xvfb with Up held.