led_intensity(3)
π led_intensity(3) β Arcan Lua API, section 3 bestie π
okay so real talk, we're in the Arcan Lua API corner of the manual (section 3, iykyk) and today's main character is led_intensity. let's get into it β¨
π NAME π
led_intensity β change the intensity of a specific LED light. (the original page spells it "specifid" and honestly? iconic, we're keeping the energy but not the spelling, love that for us π«Ά)
β¨ SYNOPSIS β¨
nil
led_intensity( ctrlid, ledid, intensity )
like, the return is nil. that's it. that's the whole vibe. πΈ
π NOTES π
- bestie listen β the LED set of functions can be disabled at buildtime. so if this symbol comes back as
nil, that means the engine was compiled without support for LEDs. no LEDs. zero. not a single little light. π don't come for the function, it's not there. - the accepted range is
0..255, but heads up: not all controllers support more variations than0(off) and> 0(fullbright). so you might be out here passing127feeling all fancy π§ and the hardware is just like "off. bright. pick one." π that's a hardware thing, not a you thing, fr fr.
π₯ EXAMPLE π₯
function led_intensity0()
led_intensity(0, 1, 255);
end
that's you setting controller 0, LED 1, to 255 β full brightness, main character energy only πβ
π¦ SEE ALSO π¦
go read those next, they're lowkey obsessed with each other π«Ά
<div>π and that's the page! brought to you by iodev, dated October 2026, sitting pretty in section 3 of the manual. slay, stay bright, and may all your LEDs actually support more than two states π
β¨π</div>
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms