pzl / mx2000drv Goto Github PK
View Code? Open in Web Editor NEWPerixx MX 2000 IIB Gaming Mouse Linux Driver
Perixx MX 2000 IIB Gaming Mouse Linux Driver
I know this isn't a usual use for an opened issue, but I figured you would see this, so I sent you an email regarding an MX-3100. Please check to see if you received it from an email address containing part of my username "rjmxtechnology". I sent it to the email hosted at your "panzarel.la" email address.
add command summary or usage to readme
to run sensitivity x -5
a double dash is required to escape the -5
, otherwise getopt
treats the 5
as a flag or option. Need to come up with a better way, not requiring sensitivity x -- -5
e.g. mx2000drv poll 500 backlight off
The numbering scheme makes no sense to me
sensitivity | hex | binary |
---|---|---|
-5 | 0x1a |
0001 1010 |
-4 | 0x15 |
0001 0101 |
-3 | 0x25 |
0010 0101 |
-2 | 0x35 |
0011 0101 |
-1 | 0x45 |
0100 0101 |
0 | 0x11 |
0001 0001 |
1 | 0x65 |
0110 0101 |
2 | 0x75 |
0111 0101 |
3 | 0x85 |
1000 0101 |
4 | 0x95 |
1010 0101 |
5 | 0x21 |
0010 0001 |
for values [-4,-1] and [1,4] it seems to be sensitivity - 0x55
. But 0, -5, and 5 are on a completely different system, that don't seem to match a pattern.
Should look into why those values are different, and try random other values (0x74
, 0x0c
, 0x55
, 0x00
) and see what comes of it.
Hello and thank you for this useful driver.
I was wondering if there's a way to change the DPI light on the mouse. When I press the DPI up/down buttons, nothing happens (or at least nothing visible happens)
Thank you
Hi,
I've just installed this, but I always get the below:
$ mx2000drv -v breathe off
Error: Mouse not found, is it plugged in?.
Can you please update the driver? BTW, I'm using hidapi installed from brew (v0.11.0).
Ps. I also raised PR #10
Ps2. To make this compile, I had to change the Makefile too (ref. https://apple.stackexchange.com/a/327784/332922), patch (not sure if good):
diff --git a/Makefile b/Makefile
index a2ef01c..f5f2c5c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,12 @@ INCLUDES = -I.
SRCS = $(wildcard $(SRCDIR)/*.c)
OBJS=$(SRCS:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
-PREFIX ?= /usr
+PREFIX ?= /usr/local
BINDIR = $(DESTDIR)$(PREFIX)/bin
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
BSHDIR = $(DESTDIR)$(PREFIX)/share/bash-completion/completions
ZSHDIR = $(DESTDIR)$(PREFIX)/share/zsh/site-functions
-UDVDIR = $(DESTDIR)/etc/udev/rules.d
+UDVDIR = /etc/udev/rules.d
ifeq ($(OS),Windows_NT)
@@ -32,7 +32,7 @@ else
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
LIBS = -lhidapi
- BSHDIR = $(DESTDIR)$(PREFIX)/etc/bash_completion.d
+ BSHDIR = /etc/bash_completion.d
else
LIBS = -lhidapi-libusb # or could use -lhidapi-hidraw
endif
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.