Comments (12)
xpad-2016.12.31_bd4f517_4.9.0_master-x86_64-1_git
I compiled the current git master and pleasantly found that this has already been fixed, thanks! I will close this now.
If you don't mind me asking, when is the current master supposed to be merged into the kernel?
from xpad.
Interesting. I guess it must be bd4f517. I was hoping to see if we could also get #48 fixed (likely with additional init packets) before going upstream with the patch. If we have to send more than 2 init packets, we'll need to do sequencing that would require rewriting the majority of the patch.
from xpad.
Thanks for the info, I'm more than happy to wait until you think its ready for it to be merged upstream. Also that is pretty good luck on my part that it was fixed the day before it came in the mail!
from xpad.
@orbea Can you try with this xpad.c to confirm it still works properly? http://pastebin.com/raw/Re8xby26
from xpad.
@cgutman I tried that xpad.c and I've encountered problems. Testing in sdl1-jstest, sdl2-jstest or RetroArch and the analog sticks will work at first, but quickly after changing to another program to test they will stop working. I'll have to test the master more to make sure this doesn't also happen there.
I don't see anything in dmesg.
from xpad.
It at least does not happen nearly as fast with the master, I will continue testing.
from xpad.
The git master certainly works.
from xpad.
Thanks, can you test my "for_upstream" branch? https://github.com/cgutman/xpad
If that works, may I add a "Tested-By: Firstname Lastname Email address" from you for my submission upstream?
from xpad.
@cgutman I tried your branch, it had the same result as before. The analog sticks work at first, but then quickly stop responding.
from xpad.
@orbea Ah, I think I understand the issue. Let me fixup my branch.
from xpad.
@orbea Please try again with my "for_upstream" branch. I've amended the patches with a fix for your issue.
Each time the device was opened, it was starting over from 0 in the sequence numbers in each packet. Your gamepad was rejecting the initialization packets after the first open because it wasn't expecting sequence numbers to start from 0 again.
from xpad.
@cgutman I have tried your branch again, this time the initial problem is gone.
However for reference this controller still has these two issues. #61 #62
from xpad.
Related Issues (20)
- cannot detect multiple wired xbox 360 controllers
- Module not auto update after new kernel install? HOT 3
- Error! Bad return status for module build.... /tools/bpf/resolve_btfids/resolve_btfids: No such file or directory
- Fantech WGP13 isn't recognized as an xbox controller
- (support) Gameshark Green Ghost gamepad
- Problem with Fantech GP13 controller.
- Extra buttons support for Flydigi Vader 3 Pro
- PDP Wired Controller misidentified as an arcade stick
- Support Request: HyperX Clutch HOT 1
- Extra Button Support Black Shark Green Ghost Controller HOT 1
- GameSir T4 Cyclone support HOT 3
- 8Bitdo Ultimate Bluetooth Controller connected via 2.4 GHz dongle turns off almost instantly after connecting if it's not immediately actively used HOT 3
- Is there a way for xpad to achieve smarter device detection?
- [BUG] Unable to Open Notes in Different Workspaces
- Scuff envision support?
- Gulikit KK3 Max ghost inputs HOT 1
- Not working with XBox 360 controller, devices not created
- Merging "support for xbox360 class controllers, that need initialisation" to upstream xpad HOT 1
- New NACON Pro Compact Device ID HOT 4
- xpad error and gamepad connects as Shanwan PC/PS3 android gamepad HOT 3
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 xpad.