-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example bind game event not working? #86
Comments
To display a normal value-based gradient on a single zone, use the mode value of "color". The mode "percent" is used for per-key devices to light a dynamically calculated number of keys the computed color. |
Uninstalling and reinstalling engine will clear out that data as well, but before doing so, can you please find your frontend error log (should be at C:\ProgramData\SteelSeries\SteelSeries Engine 3\Logs\nw-log.txt) and upload it to this issue? I'll take a look at the crash |
Here is the log file: |
Some follow up: |
I haven't yet been able to reproduce any of the crashes you are reporting. Can you upload errorlog.txt and golisp-log.txt from the same directory that the previous log was in so I can take a look at the stack traces? On the other hand, I've found the issue that's causing the incorrect data to display in the UI for your handler. A fix will be released in the next version of Engine (likely next week). |
This is the error log, the golisp-log is empty: |
We've shipped SteelSeries Engine 3.17.9 this afternoon. It should fix at least some of the issues you're having. Please try updating and let me know if you continue to have any issues. |
Hi,
I'm trying to follow the example to create a handlers in JSON. The example is to read a value between 0 and 100 and display the gradient color according to the percentage
Here is the code:
{ "game": "ABC", "event": "HEALTH", "min_value": 0, "max_value": 100, "icon_id": 1, "handlers": [ { "device-type": "rgb-1-zone", "zone": "one", "color": {"gradient": {"zero": {"red": 255, "green": 0, "blue": 0}, "hundred": {"red": 0, "green": 255, "blue": 0}}}, "mode": "percent" } ] }
When I check game sense, the app register the event as 0 and 1, with 2 color green and red
When the value send to the API with the value of 0, the color is green, when value is 1, color is red, anything above 1 is also red.
Did I make any mistake with the JSON for event handling?
The text was updated successfully, but these errors were encountered: