SHWotever / SimHub

Multi sim dashboard, bass shaker driver, ....
http://www.simhubdash.com/
796 stars 97 forks source link

[Feature request] Allow mapping of physical LEDs to virtual LEDs #936

Open patroza opened 3 years ago

patroza commented 3 years ago

Is your feature request related to a problem? Please describe. i have two arduinos with RGB leds (made by someone else). combined they have 1-16 leds and 17-36 leds. i cannot get the right order and layout with pre-made led profiles by the community.

Describe the solution you'd like i would like a configuration option to map physical led ids to virtual led ids (used by the software) having it available just in a json/xml/ini config file without UI would already be superb. I’m also happy if I can do it with a c# plugin.

for ex I want to say; led 1-4 map to arduino leds 1-4 led 5-20 map to arduino leds 21-36 led 21 maps to arduino led 20 led 22 maps to arduino led 19 led 23 maps to arduino led 18 led 24 maps to ardino led 17

Describe alternatives you've considered Buying different led devices, but its costly.

patroza commented 3 years ago

I've achieved the functionality by injecting a modified LEDResult.ToArray method via a plugin. I'm sure there's a better way :)

I think it's important we can leverage our hardware in the way we need it. And it's amazing i can now; it's awesome. But official support still would be great :)

Eclipsed830 commented 3 years ago

I agree, while I understand the worries of frying the board from too many LED's, it would be nice if we could add even just 2-3. For example, it would be useful to be able to program one single LED to use as a DRS zone indication light such as the ones on F1 steering wheels. Another single LED for blue flag or yellow flag conditions too would be nice. Mobiflight, a similar program for Flight Simulators allows this function and I've found it pretty useful.