Main > Linux
LEDSpicer changing button color when using emitter.
StefanV:
--- Quote ---If a subject line search doesn't yield the desired results, add "site:forum.arcadecontrols.com" to an internet search engine query.
- For example, if you want to search for BYOAC posts containing LEDSpicer and emitter the search terms would be,
--- End quote ---
Thanks Scott for catching up and clarification for the search issue! :cheers:
StefanV:
--- Quote from: meduza on January 04, 2021, 01:35:15 pm ---as mahuti, using the color's file is one way to go, you can also use default color per element / group :)
--- End quote ---
Hi meduza, sounds interesting.
How would that be configured correctly?
I tried it setting the color for the buttons (elements) on the profile of the system.
E.g.: in the profile_arcade.xml.
--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
version="1.0"
type="Profile"
backgroundColor="Black"
>
<element name="P1_BUTTON1" color="Red" />
<element name="P1_BUTTON2" color="Green" />
<element name="P1_BUTTON3" color="Yellow"/>
<element name="P1_BUTTON4" color="Blue"/>
</LEDSpicer>
--- End code ---
But this is not working out for me.
Using emitter sets any of the element to the color "White"
If I configure this for a game / rom profile e.g. galaga or 1942 then this is working well.
But that would mean I need to create a game / rom profile for each game.
Thanks, Stefan.
meduza:
Hello Stefan, I just found out that I forgot to document this :-\
to add default colors to elements or groups use
--- Code: ---defaultColor="Xxx"
--- End code ---
where Xxx is a color name from the list of colors (the 1st letter normally is Capital)
I will update the docs soon with several features we added lately. 8)
The default color can be override by ElementColor or GroupColor set on profiles :laugh:
EDIT: Updated documentation added default color and solenoid usage! 8)
check it here
StefanV:
Hi meduza,
thanks for calrification. :cheers:
I just gave it a try and it works well if set the default color in the ledspicer.conf
But if I set the color for a button element to another color in the system profile (e.g. profile_arcade.xml) it is not working for me. :dunno
maybe someting else is wrong with my compilitation of LED Spicer:
If I call "ledspicerd -p default" I get a segmentation fault.
--- Code: ---Initializing Device Ultimarc Ipac Ultimate IO
Connecting to 0xd209:0x410
Detecting interface
No Game Controller mode detected
Claiming interface 2
Dropping privileges to user id 1000 and group id 1000
Privileges dropped
Segmentation fault
--- End code ---
My system is a raspberry pi4. The compilation went through witout error.
Any idea?
Thanks, Stefan.
mahuti:
Invalid XML?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version