https://github.com/toxblh/a4tech-control
https://github.com/toxblh/a4tech-control
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/toxblh/a4tech-control
- Owner: Toxblh
- Created: 2020-09-18T13:38:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T22:51:22.000Z (almost 6 years ago)
- Last Synced: 2025-03-03T20:44:25.608Z (over 1 year ago)
- Language: Rust
- Size: 4.65 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# A4Tech Mouse Control
This project is just for fun to try to reverse engeeniring USB mouse and create GTK app use Rust lang. I have 2 mouse V7M and V8M which I use for test.

Udev and user permissions:
```shell
# copy you product id of device like ...ID 09da:xxxx where is xxxx is what you need and to change it in the file udev/10-a4tech.rules
lsusb
sudo cp udev/10-a4tech.rules /etc/udev/rules.d/
sudo groupadd a4tech
sudo usermod -aG a4tech $USER
sudo udevadm control --reload-rules && udevadm trigger
```
Big thanks with part of work the guys
- https://github.com/openrazer/openrazer/wiki/Reverse-Engineering-USB-Protocol
- https://gill.net.in/posts/reverse-engineering-a-usb-device-with-rust/
- https://www.linuxvoice.com/drive-it-yourself-usb-car-6/
- https://github.com/a1ien/rusb
- https://gitlab.com/C0rn3j/configs/-/blob/master/ansible/serverPlaybooks/roles/bree/files/html/a4/bloody.php
- https://gitlab.com/C0rn3j/a4tech_bloody_p85_driver
- https://github.com/Marisa-Chan/init-gmouse
And like a reference for good GTK ui for my third mouse
- https://github.com/pwr-Solaar/Solaar