1.0.0 • Published 6 years ago

simplerazerlib v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

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));