GithubHelp home page GithubHelp logo

elemc / msi-keyboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giuliopaci/msi-keyboard

1.0 1.0 0.0 13 KB

Set colors for MSI steelseries keyboards

License: BSD 3-Clause "New" or "Revised" License

C++ 96.24% QMake 3.76%

msi-keyboard's Introduction

This program can change the colors on your MSI steelseries keyboard. Depending on the model, the keyboards have 3 or 7 regions that can have different colors for each one.

Prerequisites (tested on Ubuntu 14.04 only):

Qt 5.2 or later (Ubuntu includes Qt 5.2.1)
libhidapi-dev
libhidapi-libusb0

To build:

qmake
make

Make sure to copy 99-msi.rules to /etc/udev/rules.d unless you want to run the program as root. Requires a reboot or maybe just a reload of udev rules to work correctly.

To use:

Usage: ./msi-keyboard [options]
Keyboard color changer for MSI steelseries keyboards

Options:
  -h, --help     Displays this help.
  -v, --version  Displays version information.
  -m, --mode <mode>      set color <mode>: normal, gaming, breathe, demo, wave
  -r, --rgb <rgb>      set an <rgb> color using the format:
                       region,red,green,blue with rgb values between 0 and 255
  -c, --color <color>  set a <color> preset using the format:
                       region,color,intensity (only valid for left/middle/right
                       regions). When using this option, a mode must be
                       specified with -m

Available regions:

left
middle
right
logo
front-left
front-right
touchpad

Available color presets (only for left/middle/right regions):

off
red
orange
yellow
green
sky
blue
purple
white

Available preset intensities (only for left/middle/right regions):

high
medium
low
light

Example:

./msi-keyboard -m normal -c left,red,high -c middle,purple,high -c right,sky,high -r touchpad,255,0,0 -r logo,255,255,255

Licensing:

This program is licensed as 3-clause BSD, terms are available in the COPYING file.

Based on a nodejs version of msi-keyboard by Steve Lacy of wearefractal.com:

Copyright (c) 2013 | Steve Lacy slacy.me | Fractal wearefractal.com [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

$The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

msi-keyboard's People

Contributors

jrtroncoso avatar pcsrule avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.