andreldm / harpoond Goto Github PK
View Code? Open in Web Editor NEWProvides basic support to control Corsair Harpoon Mouse's LEDs.
Provides basic support to control Corsair Harpoon Mouse's LEDs.
Do you have suggestion to how to find it?
Oi Andre, tudo bem?
Vi que você é BR, então facilita aqui.
Eu fiz o git clone do projeto e dei uma olhada no harpoond.c, lá pela linha 116, e tentei alterar os valores.
De fato, eles mudaram de cor, mas não consegui desabilitar...
Você consegue me ajudar?
Abraços!
Hi, how can I deactivate / uninstall the Harpoond program ?
Thank you for your response
Lucas
I tried to change the Main LED's Blue, e.g. to 0xff
, but doesn't work.
It's the same with wired or dongle mode.
The Red and Green combinations works though.
Is it one of the ignored values or is it just my mouse?
I just bought it yesterday.
This issue is looking at the following block:
transfer(device, 12, device->command_prefix,
0x06, 0x00, 0x06, 0x00, 0x00, 0x00,
0x00, /* Indicator LED's red */
0x00, /* Main LED's red */
0xff, /* Indicator LED's green */
0x00, /* Main LED's green */
0xff, /* Indicator LED's blue */
0x00); /* Main LED's blue */
transfer(device, 5, 0x01, 0x20, 0x00, 0x08, 0x70); /* Set DPI (708 hex = 1800) */
I'm using the corsair harpoon w/ the wireless dongle and I was able to alter the middle click indicator LED by changing the first transfer, but when attempting to drop the DPI to 500 or even 10 I don't seem to get any change.
I'm on Arch Linux, but libusb is cross-platform so I reckon that shouldn't matter.
I appreciate all the research you're doing on this to get some working cross-platform support for the Harpoon!
Hello Andre, how are you?
I'm using Pop!_OS distro and I have to do some workaround because I had some trouble with libusb.h while executing make. It returns an error with the message No such file or directory.
I run sudo apt-get install libusb-1.0-0-dev
and then updated the harpoond.c from #include <libusb.h>
to #include <libusb-1.0/libusb.h>
.
Now everything is working as expected.
I'm just posting this if some else faces the same problem, including me in the future.
When running the daemon as systemd
service I'm getting an endless amount of the following message in my dmesg
:
...
[ 3093.821158] hid-generic 0003:1B1C:1B5E.04E9: hiddev98,hidraw4: USB HID v1.11 Device [Corsair CORSAIR HARPOON RGB WIRELESS Gaming Mouse] on usb-0000:02:00.0-1/input1
[ 3095.828085] hid-generic 0003:1B1C:1B5E.04EA: hiddev98,hidraw4: USB HID v1.11 Device [Corsair CORSAIR HARPOON RGB WIRELESS Gaming Mouse] on usb-0000:02:00.0-1/input1
...
Which I assume is caused by the keep_alive function which initializes and ungrabs the device.
I do not understand how to set the custom configuration. please provide an example?
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.