All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Valentin <benpicco@googlemail.com>
To: Cameron Gutman <aicommander@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org, Pavel Rojtberg <rojtberg@gmail.com>,
	"Pierre-Loup A. Griffais" <eduke32@plagman.net>,
	Daniel Tobias <dan.g.tob@gmail.com>
Subject: Re: [PATCH] Input: xpad - sync supported devices with 360Controller
Date: Tue, 9 May 2017 01:08:42 +0200	[thread overview]
Message-ID: <20170509010843.6f24c1a7@nashorn> (raw)
In-Reply-To: <842f5c93-9788-2bb9-1ced-bb88ce60d231@gmail.com>

On Sat, 6 May 2017 14:19:58 -0700
Cameron Gutman <aicommander@gmail.com> wrote:
 
> If the device type is uncertain, we should definitely not add them to
> the the list. Doing so may regress them by overriding the
> autodetection done in xpad_probe().
>
> […]
>
> There's really no reason to add an entry like "Generic Controller".
> Gamepads work perfectly fine without being included in this list, as
> long as their VIDs are in xpad_table[], since we already derive the
> correct XTYPE for unknown pads using the USB interface descriptor in
> xpad_probe().
> 
> The only value that this table has is for gamepads that need quirks
> like MAP_TRIGGERS_TO_BUTTONS and similar, and simply having a nicer
> name to display than "Generic X-Box pad". If we don't have either, I
> don't think it's worth adding them here.

Ah I didn't know this! That's reassuring as otherwise it would have been
an impossible battle to track down all the Xbox compatible controllers
and add them to an ever growing list :)

It looks like 360Controller also detecs wheels and flight sticks at run-time,
at least for Xbox One peripherals [0]. I don't have hardware to test this
unfortunately.

> > This patch depends on my previous series which sorts the USB IDs
> > and syncs them with the xboxdrv userspace driver.  
> 
> At this point, I'd bundle all 4 patches into a v2 of your initial
> series to make it easier for Dmitry to keep them all straight.

As he already merged the three first ones, I guess I'll just resend this one
with the generic/uncertain ones stripped.

[0] https://github.com/360Controller/360Controller/blob/master/360Controller/Controller.cpp#L587

  parent reply	other threads:[~2017-05-08 23:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 21:15 [PATCH 1/2] Input: xpad - sort supported devices by USB ID Benjamin Valentin
2017-05-04 21:17 ` [PATCH 2/2] Input: xpad - sync supported devices with xboxdrv Benjamin Valentin
2017-05-04 22:47   ` Input: xpad - add USB IDs for Mad Catz Brawlstick and Razer Sabertooth Benjamin Valentin
2017-05-05  0:04     ` Cameron Gutman
2017-05-04 23:52   ` [PATCH 2/2] Input: xpad - sync supported devices with xboxdrv Cameron Gutman
2017-05-05 17:50     ` [PATCH v2 " Benjamin Valentin
2017-05-06  4:25       ` Cameron Gutman
2017-05-06 17:10       ` [PATCH] Input: xpad - sync supported devices with 360Controller Benjamin Valentin
2017-05-06 21:19         ` Cameron Gutman
2017-05-07 21:53           ` Dmitry Torokhov
2017-05-09  0:52             ` [PATCHv2] " Benjamin Valentin
2017-05-09  5:18               ` Cameron Gutman
2017-05-11 22:22                 ` Benjamin Valentin
2017-05-13  3:08                   ` Cameron Gutman
2017-05-14 18:05                     ` [PATCHv3] " Benjamin Valentin
2017-05-14 19:52                       ` Cameron Gutman
2017-05-14 20:28                       ` [PATCHv4] " Cameron Gutman
2017-05-08 23:08           ` Benjamin Valentin [this message]
2017-05-16 23:01         ` [PATCH] Input: xpad - sync supported devices with XBCD Benjamin Valentin
2017-05-21 23:38           ` Cameron Gutman
2017-05-05  0:09 ` [PATCH 1/2] Input: xpad - sort supported devices by USB ID Cameron Gutman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170509010843.6f24c1a7@nashorn \
    --to=benpicco@googlemail.com \
    --cc=aicommander@gmail.com \
    --cc=dan.g.tob@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=eduke32@plagman.net \
    --cc=linux-input@vger.kernel.org \
    --cc=rojtberg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.