Updated Readme
This commit is contained in:
19
README.md
19
README.md
@@ -2,18 +2,25 @@ a4tech-bloody-linux-driver
|
||||
====================
|
||||
|
||||
Linux driver for a4tech bloody mouse series.
|
||||
This tool allows setting backlight level of A4TECH wired mouse (USB connected), e.g. A4TECH V7M.
|
||||
This tool allows setting backlight level and dpi(not dpi profiles) of A4TECH wired mouse (USB connected), e.g. A4TECH V7M or RT7.
|
||||
|
||||
# Build instructions
|
||||
## Fedora 29
|
||||
```
|
||||
dnf install gcc-c++ cmake libusbx-devel
|
||||
git clone https://github.com/maxmati/a4tech-bloody-linux-driver
|
||||
git clone https://git.mirror.bacruru.ru/souce/a4tech-bloody-linux-driver
|
||||
cd ./a4tech-bloody-linux-driver
|
||||
cmake .
|
||||
make
|
||||
```
|
||||
## OpenSUSE tumbleweed
|
||||
```
|
||||
sudo zypper in gcc cmake
|
||||
git clone https://git.mirror.bacruru.ru/souce/a4tech-bloody-linux-driver
|
||||
cd ./a4tech-bloody-linux-driver
|
||||
cmake .
|
||||
make
|
||||
```
|
||||
|
||||
## Add new bloody devices
|
||||
|
||||
1. Get USB PID of device:
|
||||
@@ -21,7 +28,7 @@ make
|
||||
~$ lsusb -d 09da: | cut -d ' ' -f6 | cut -d ':' -f2
|
||||
```
|
||||
|
||||
2. Add that PID to Mouce.h & Mouce.cpp
|
||||
2. Add that PID to Mouse.h & Mouse.cpp
|
||||
|
||||
Mouse.h: add line with PID and add name to COMPATIBLE_PIDS variable as all the other mouses.
|
||||
|
||||
@@ -35,5 +42,7 @@ Available devices:
|
||||
36:Bloody V7
|
||||
Enter device address: 36
|
||||
Current backlight level: 3
|
||||
Select backlight level(0-3):0
|
||||
Select backlight level(0-3): 0
|
||||
Select DPI(100-4000): 3600
|
||||
Setting it to 3600, boss!
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user