EDIT: I don't think there's a possibility that the problem with button detection can be fixed. I'll try to think about everything I can think of, but the chance of fix seems to be very unlikely. I'm sorry.
Hi, I have rewrote whole module. What I've done is that I ordered xboxdrv to run in daemon mode. This allows xboxdrvctl to send rumble events. However it also requires additional software to read output of Xbox controller. For this I used jstest.
I made this to be compatible with all existing programs utilizing xbox.py. Function definitions are all the same. For xboxnew.py, you'll need to install xboxdrv and jstest.
This module is nearing the end of alpha stage. The biggest issue at the time of writing this is that detection of button and axis isn't always correct. Code is also missing comments.
By creating this pull request I sincerely hope that someone will help me make my code stable and usable for big projects. I also have some projects prepared that would use rumble.
EDIT: I don't think there's a possibility that the problem with button detection can be fixed. I'll try to think about everything I can think of, but the chance of fix seems to be very unlikely. I'm sorry.
Hi, I have rewrote whole module. What I've done is that I ordered xboxdrv to run in daemon mode. This allows xboxdrvctl to send rumble events. However it also requires additional software to read output of Xbox controller. For this I used jstest.
I made this to be compatible with all existing programs utilizing xbox.py. Function definitions are all the same. For xboxnew.py, you'll need to install xboxdrv and jstest.
This module is nearing the end of alpha stage. The biggest issue at the time of writing this is that detection of button and axis isn't always correct. Code is also missing comments.
By creating this pull request I sincerely hope that someone will help me make my code stable and usable for big projects. I also have some projects prepared that would use rumble.