linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: Nicolas Werner <nicolas.werner@gmx.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] plugins/sixaxis: Use the same device name as the kernel
Date: Tue, 08 Aug 2017 13:52:58 +0200	[thread overview]
Message-ID: <1738480.akGYgfIP2l@ix> (raw)
In-Reply-To: <20170807224833.17861-1-nicolas.werner@gmx.net>

Hi Nicolas,

On Tuesday, 8 August 2017 00:48:33 CEST Nicolas Werner wrote:
> Some games check the device name to recognize a playstation controller.
> This changes the device name, when using a PS3 controller over
> bluetooth, to match the device name, that is advertised when using the
> controller via USB.
> ---
>  plugins/sixaxis.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
> index fcc93bc60..7e3c950b4 100644
> --- a/plugins/sixaxis.c
> +++ b/plugins/sixaxis.c
> @@ -56,7 +56,7 @@ static const struct {
>  	uint16_t version;
>  } devices[] = {
>  	{
> -		.name = "PLAYSTATION(R)3 Controller",
> +		.name = "Sony PLAYSTATION(R)3 Controller",
>  		.source = 0x0002,
>  		.vid = 0x054c,
>  		.pid = 0x0268,

Patch applied, thanks.

-- 
pozdrawiam
Szymon Janc

      reply	other threads:[~2017-08-08 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07 22:48 [PATCH] plugins/sixaxis: Use the same device name as the kernel Nicolas Werner
2017-08-08 11:52 ` Szymon Janc [this message]

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=1738480.akGYgfIP2l@ix \
    --to=szymon.janc@codecoup.pl \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=nicolas.werner@gmx.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).