corsairofficial / cue-sdk-node Goto Github PK
View Code? Open in Web Editor NEWA Node.js native wrapper around iCUE SDK
License: MIT License
A Node.js native wrapper around iCUE SDK
License: MIT License
Hi there,
At the bottom of the readme the link to the code examples is broken.
https://github.com/CorsairOfficial/cue-sdk-node/tree/master/example
Thanks
Hey, How Do I access the color values of an LED?
It is doable in the python version.
ran npm install cue-sdk
and got this. (pastebin)
Some version info:
node -v >> v9.9.0
npm -v >> 5.6.0
node-gyp -v >> v6.1.0
My guess is I just have to update node but I'd like to confirm before doing so.
Running into weird issue on mac. This is on an M1 Mac mini, but works on my intel macbook pro.
I haven't had a chance to test this out yet on windows, but many of our users are using this and experiencing random crashes if they run into this bug. If we can, can we make this error gracefully.
Willing to do any tests you may need
dyld: Symbol not found: _CorsairPerformProtocolHandshake
Referenced from: /Users/ahad/app/node_modules/cue-sdk/build/Release/cuesdk.node
Expected in: flat namespace
It's a question, I'm working on a RGB Corsair project, I was testing my work on iCUE v3, after that I had to uninstall iCUE then I found that there is v4, so does the SDK work on both versions?
Many Thanks,
I am trying to use this with my MacBook but it doesn’t seem like the binaries were built for Mac. Please build and upload the Mac binaries so we can use this as well
In trying to package my node app as an executable using 'pkg' I receive this error when launching the .exe:
Error: No native build was found for platform=win32 arch=x64 runtime=node abi=83 uv=1 libc=glibc node=14.4.0
loaded from: D:\snapshot\order_flash\node_modules\cue-sdk
It's described well here: parcel-bundler/parcel#5090
The problem arises in line 1 of index.js:
const binding = require('node-gyp-build')(__dirname)
To recreate: simply require the cue-sdk module, and run pkg.
iCue Software: v4.24.193
cue-sdk-node: v3.1.0
As of the latest iCue software update, the SubscribeToEvents is no longer triggering for macrokeyup/macrokeydown from my K55 RGB keyboard. This issue affects a plugin I've built for Touch Portal, but also seems to affect the Stream Deck app as well being able to utilize the Macro keys from the keyboard.
Events trigger for device disconnected/device connected, but nothing else.
Does this not work for Mac?
When running npm install cue-sdk
on mac I get this error:
gyp: binding.gyp not found (cwd: /Users/manr/zang/node_modules/cue-sdk) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:311:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/manr/.nvm/versions/node/v12.16.1/bin/node" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/manr/zang/node_modules/cue-sdk
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v7.1.0
gyp ERR! not ok
npm WARN [email protected] No description
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/manr/.npm/_logs/2020-09-15T03_15_09_900Z-debug.log
The documentation could use a little more introduction and broad explanation on what you can do with this library and what devices are supported.
I am currently looking for both a RGB mouse mat and a RGB keyboard that can be programmatically controlled with a node sdk to change the colors based on data coming in for stock market prices and portfolio data.
I want to change the colors of the RGB mat lighting to reflect conditions on prices in realtime and update specific keys on the keyboard with colors to reflect certain notifications based on prices and my portfolio data.
I am looking to integrate it with Interactive Brokers which I can already do with node.js I just need a solution on the mouse mat and keyboard side for the color changes.
I am looking at corsair, logitech, and razr for solutions via SDKs for node.
This one looks promising but the readme doesn't say what hardware is supported or if something like this might be possible.
I like the Corsair MM700 RGB mat and it says it works with iCUE so I'm wondering if this SDK supports it and can modify the rgb on demand programmatically.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.