Comments (2)
The value of data
in an event is meant to be a stringified JSON object. It is this way in the API for various reasons.
It is documented in sending game events.
From the documentation:
{
game: "MY_GAME",
event: "HEALTH",
data: "{\"value\": 75}"
}
Notes about the data:
- The values for
game
andevent
are limited to uppercase A-Z, 0-9, hyphen, and underscore characters. - All three of the keys are mandatory for the event to be processed.
- The value for
data
is a string containing the stringified form of a JSON object. Any events that will be handled by the JSON API must contain the keyvalue
. For simplicity and greatest compatibility with user configurability of these events in SteelSeries Engine, it is recommended that the event data be a singlevalue
key with numeric values.
We appreciate you checking out the gamesense-sdk! Please read the documentation before submitting issues.
Thanks,
-Dave
from gamesense-sdk.
GameSense was updated in 3.4.1 to support passing either JSON strings or raw objects for handlers or event data.
from gamesense-sdk.
Related Issues (20)
- InternalServerError when binding full keyboard effect. HOT 2
- Doesnt Work with SteelSeries GG
- Event binding/registering always returning 400 HOT 2
- use steelseries lightning api in c++
- Simple Prism Mousepad Light Configuration On/Off HOT 1
- Request - Ability to use configurations in JSON calls
- Keyboard Oled not responding to successfully sent bitmaps HOT 6
- Maximum update rate/refresh rate/best practices for full-keyboard lighting effects?
- Won't react to other event HOT 3
- Sending events breaks profile-switching on the mouse (Rival 710) HOT 3
- macro to write the curent date
- spam limiter triggering for no (apparent) reason HOT 3
- Missing zones for new Arctis Nova Pro Wireless HOT 1
- Multiple read and write permission errors on Standard user account on macOS 12.4 (Monterey) prevent usage of Steelseries GG and Gamesense SDK
- how to avoid this? wireless pro transceiver OLED display goes crazy after an hour or two of processing events HOT 2
- game_event - 404
- Incorrect Content-type value for error responses
- Are you serious? HOT 2
- Bug: Color Sequences not updating to new Event definitions
- Cancel Event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamesense-sdk.