Coder Social home page Coder Social logo

rzctl's Introduction

rzctl(1)

version: 0.1.0 license: GNU GPL v2 works: not really

Razer mouse control utility

๐ŸŒˆ๏ธ Configure Razer Chroma devices from the command line

What's this?

rzctl(1) is a command line utility that allows changing the colorization parameters of Razer Chroma devices.

Supported devices

For the time being it only supports the one (and probably last) Razer device I own, the (seemingly discontinued) Razer Deathadder Chroma I found laying around and repaired for fun. Feel free to add your own via PR!

  • 1532:0043 Razer Deathadder Chroma

Quick start

# Clone this repository
git clone https://github.com/anpep/rzctl
# Build rzctl
cd rzctl && make
# Try it out!
rzctl list-devices
# Try rzctl --help for all supported commands

I keep getting Permission denied error

libusb does not have permission to access the USB device. Create a udev rule for your device and place it on /etc/udev/rules.d/:

# example for Deathadder Chroma
SUBSYSTEM=="usb",
ATTR{idVendor}=="1532",
ATTR{idProduct}=="0043",
MODE="0666"

Save the file and execute udevadm control -R as superuser. Note that you may also need to reconnect your device in order to udev to apply the new permissions.

Open-source code

This software depends on argtable/argtable3 because I wanted to try out something new for parsing command line arguments. I'm very happy with the outcome. Argtable is Copyright (C) 1998-2001, 2003-2011 Stewart Heitmann.

rzctl(1) itself is licensed under the GNU GPL v2. You can find a copy of the license terms in the LICENSE.md file.

rzctl(1) -- Razer mouse control utility
Copyright (c) 2019 Angel <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

rzctl's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

fhusson

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.