Giter VIP home page Giter VIP logo

mx2000drv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

antivirtel

mx2000drv's Issues

Sent you an email

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.

Finish commands

  • profile
    • set
    • get
  • button
    • set
    • get
  • macro
    • set
    • get
  • color
    • set
    • get
  • breathe
    • set
    • get
  • cycle
    • set
    • get
  • lit
    • set
    • get
  • dark
    • set
    • get
  • pulse
    • set
    • get
  • standby
    • set
    • get
  • backlight
    • set
    • get
  • sensitivity
    • set
    • get
  • acceleration
    • set
    • get
  • DPI preset values
    • set
    • get
  • DPI active preset
    • name
    • set
    • get
  • poll
    • set
    • get
  • reset
  • dump
    • file
    • stdout
  • load
    • file
    • stdin

double dash to escape negative numbers

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

Investigate sensitivity settings

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.

Any way to change the DPI light?

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

Doesn't work on MacOS Big Sur (11.6)

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!

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.