Comments (14)
I only have the pro. It works very well and is easy to use. Some one with the x52 (non pro) might comment, but I would suggest that you consider running a test and posting your results for others.
I think it's a good question and am interested. Personally I would expect for most of the common functions between the two to actually work.
-- L. James
--
L. D. James
[email protected]
www.apollo3.com/~ljames
from libx52.
I have a check during initialization for the product code that is specific to the X52 Pro. Since I don't have the non-Pro version, I have no clue about the functionality. It should be fairly straightforward to add a case for the non-Pro model here - https://github.com/nirenjan/x52pro-linux/blob/master/libx52/x52_core.c#L30
I'd suggest along similar lines as @apollothethird to pull the source code, modify it to accept the non-pro version and run your tests.
from libx52.
Thanks for the instructions. I have little experience on c but I'll definitely try that when I have more time
from libx52.
@winiciuscota, I've added support for the X52, but as the commit message states, you cannot update the LEDs individually. I'd need to know the control messages for those in order to update the library. However, you should be able to reduce the brightness down to zero for the LEDs, assuming that the control messages are the same between the pro and non-pro models.
from libx52.
@nirenjan Sorry for taking this long to test it. That worked perfectly!
from libx52.
Could you try to verify if the other commands work? My assumption is that apart from setting the LED states, everything else should work as is.
from libx52.
All the commands are working(except for led and I didn't tested raw). Attempting to use led gives this message: Error: Operation not supported. The mfd command is awesome, I didn't even know it was possible to change the mfd text on the x52 non pro
from libx52.
That's awesome! I'd still like to identify the LED commands, so let me know if you're ready to try some raw commands to try and turn on or off the LEDs.
from libx52.
I can do that as long as there is no risk of destroying my device
from libx52.
Seems like the API is more or less the same between the X52 and X52 Pro. The only info I have though is that the LEDs are probably single color blue LEDs on the X52, while they are red/green LED pairs on the Pro.
The risk is minimal, IMHO.
from libx52.
Can you describe what LEDs are glowing on the X52 when you first plug it in?
from libx52.
The easiest way to add support for the LEDs would be to snoop the USB messages from a Windows instance which has the Saitek drivers installed. The manual is no help - it simply states that you can control the LED brightness, but doesn't say anything about the individual LEDs.
from libx52.
Use WireShark, select the USB device for capturing packets, while only capturing when changing the color. I started doing this myself, but have been quite busy.
If I'm not mistaken, the bytes you need to look at are marked something like "extra data". The initial bytes are usually USB protocol stuff, and already labelled by WireShark. Sparse data on the web with replaying packets using C, etc.. (Please correct me if I'm wrong.)
from libx52.
Well, according to this website, the LEDs cannot be individually controlled on the X52 (non-pro). Given that the library already supports everything else, I'm going to close this issue.
from libx52.
Related Issues (20)
- MFD time doesn't advance HOT 5
- Debian Bullseye compile error HOT 6
- Got compilation error after make (ini.h missing) HOT 4
- 0.2.2. --- erratic behavior HOT 16
- ./configure --prefix=/usr tries to install logs in /usr/var/log, fails installation ("missing operand") HOT 6
- X52Pro Second POV hat (metal one) LED HOT 3
- Default log is too verbose HOT 3
- Incorrect link to Arch Linux AUR package in README. HOT 1
- Mouse mini-stick as additional axes? HOT 9
- build failed with doxygen enabled: missing docs/Makefile.am HOT 4
- Option to disable use of pid file HOT 1
- daemon crash on subsequent joystick reconnections HOT 6
- x52d mouse diagonal cursor speed HOT 5
- x52d reverse scroll wheel direction HOT 19
- x52d: a single scroll event may result in multiple REL_WHEEL reports HOT 3
- FATAL: x52d_main.c:117 Daemon is already running as PID 23488 HOT 94
- support for setting multiple leds at once HOT 1
- kernel module repeatedly resets after some time HOT 5
- journal flooded with usb IO errors HOT 25
- possible fixing kernel module for mouse? HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libx52.