Simple library for accessing the REST API razer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
color.js
exemples.js
index.js
package.json

README.md

simplerazerlib

Simple library for accessing the REST API razer

#How to use

const ChromaSDK = require('./ChromaSDK');
let chroma = new ChromaSDK({
        "title": "Simple Razer Library",
        "description": "Simple library for accessing the REST API razer",
        "author": {
            "name": "Deathart",
            "contact": "http://github.com/deathart/simplerazerlib"
        },
        "device_supported": [
            "keyboard",
            "mouse",
            "headset",
            "mousepad",
            "keypad",
            "chromalink"],
        "category": "application"
    });
chroma.createKeyboardEffect("CHROMA_STATIC", 255);

chroma.createMousematEffect("CHROMA_STATIC", 255);

chroma.createMouseEffect("CHROMA_STATIC", 255);

#How to use rgb

const Color = require('./color');

chroma.createKeyboardEffect("CHROMA_STATIC", new Color(255, 0, 0));