Skip to content

andrew-yustyk/a4tech-bloody-linux-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a4tech-bloody-linux-driver

Linux driver for a4tech bloody mouse series.

Compile

~$ git clone <repo> <dir>
~$ cd <dir>
~$ cmake ./
~$ make

Run

./bloody

Add new bloody devices

  1. Get USB PID of device:
~$ lsusb -d 09da: | cut -d ' ' -f6 | cut -d ':' -f2
  1. Add that PID to Mouce.h & Mouce.cpp This tool allows setting backlight level of A4TECH wired mouse (USB connected), e.g. A4TECH V7M.

Build instructions

Fedora 29

dnf install gcc-c++ cmake libusbx-devel
git clone https://github.com/maxmati/a4tech-bloody-linux-driver
cd ./a4tech-bloody-linux-driver
cmake .
make

Usage

sudo ./bloody
Available devices:
36:Bloody V7
Enter device address: 36
Current backlight level: 3
Select backlight level(0-3):0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.7%
  • CMake 5.1%
  • Shell 2.2%