Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Nacon Pro Compact #229

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Support for Nacon Pro Compact #229

wants to merge 17 commits into from

Conversation

guegse
Copy link

@guegse guegse commented Dec 25, 2022

No description provided.

dantob and others added 16 commits September 8, 2022 23:33
Signed-off-by: Daniel Tobias <[email protected]>
Signed-off-by: Jonathan <[email protected]>
Signed-off-by: Matt Sturgeon <[email protected]>
Many knockoff brands emulating the XBOX 360 controller do not properly
send data unless configured correctly. Examples include the Gamesir G3w
and the Fantech GP11 Shooter.

Protocol inspection of communication with other operating systems
reveals a sequence of control messages that can be used to initialize
the controllers sufficiently to send proper data.

Some of these controllers only require one and may break with further,
some may require all three. This change adds a quirks field that allows
specifying these initialization packets.

Note that it also removes an unused field from the controller type table.

Signed-off-by: Darvin Delgado <[email protected]>
Signed-off-by: Vicki Pfau <[email protected]>
only renames, no functional changes - even though some of the packets
we send are suspicious.
However, I dont have the hardware to verify they are truly superflous.
This allows to turn off the pad without having to release the Xbox (mode) button

Signed-off-by: Davide Garberi <[email protected]>
This occurs with MSI GC20 on Ubuntu 22.04.1 LTS.

Signed-off-by: Eldad Zack <[email protected]>
8BitDo Pro 2 Wired Controller shares the same USB identifier
(2dc8:3106) as a different device, so amend name to reflect that and
reduce confusion as the user might think the controller was misdetected.

I have personally tested it and I can confirm that Pro 2 Wired will also
not work in XTYPE_XBOXONE mode (buton presses won't register), therefore
XTYPE_XBOX360 remains appropriate.

Signed-off-by: Leonardo Brondani Schenkel <[email protected]>
@paroj
Copy link
Owner

paroj commented Jan 4, 2023

please check current master again. probably this is not needed any more

@guegse
Copy link
Author

guegse commented Jan 5, 2023

please check current master again. probably this is not needed any more

My 2 controllers have product ids 0x0616 and 0x0618 respectively so I think this PR is still needed for them to work:

$ lsusb
...
Bus 001 Device 007: ID 3285:0616 NACON Pro Compact
Bus 001 Device 006: ID 3285:0618 NACON Pro Compact

General (noob) questions regarding the structure of this driver:

/*
 * Xbox 360 has a vendor-specific class, so we cannot match it with only
 * USB_INTERFACE_INFO (also specifically refused by USB subsystem), so we
 * match against vendor id as well. Wired Xbox 360 devices have protocol 1,
 * wireless controllers have protocol 129.
 */

Does that mean that all vendor and product IDs have to be listed explicitly in the driver for it to work? Would it make sense to make an exception for this driver? Having to list all vendors/products that effectively talk the same protocol seems quite tedious/ineffective.

@DJawna
Copy link

DJawna commented May 3, 2024

Hello will this be merged? because i have a similar problem my nacon controller has the id:

3285:0616

currently i have simply changed the xpad kernel module myself, but i would like to use the official version ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.