Linux bluetooth development
 help / color / mirror / Atom feed
From: Alex Gal <a.gal@miip.ca>
To: linux-bluetooth@vger.kernel.org
Cc: Alex Gal <a.gal@miip.ca>
Subject: [PATCH] Adds Sony Move Navigation controller.
Date: Tue,  7 Oct 2014 12:04:37 -0400	[thread overview]
Message-ID: <1412697877-7508-1-git-send-email-a.gal@miip.ca> (raw)

Signed-off-by: Alex <a.gal@miip.ca>
---
 plugins/sixaxis.c       | 7 +++++++
 profiles/input/server.c | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index b09404a..6f7893e 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -60,6 +60,13 @@ static const struct {
 		.pid = 0x0268,
 		.version = 0x0000,
 	},
+	{
+		.name = "PLAYSTATION(R)3 Controller", /* Move Navigation */
+		.source = 0x0002,
+		.vid = 0x054c,
+		.pid = 0x042f,
+		.version = 0x0000,
+	},
 };
 
 struct leds_data {
diff --git a/profiles/input/server.c b/profiles/input/server.c
index 307db96..5463311 100644
--- a/profiles/input/server.c
+++ b/profiles/input/server.c
@@ -140,6 +140,10 @@ static bool dev_is_sixaxis(const bdaddr_t *src, const bdaddr_t *dst)
 	if (vid == 0x054c && pid == 0x05c4)
 		return true;
 
+    /* Move Navigation */
+	if (vid == 0x054c && pid == 0x042f)
+		return true;
+
 	return false;
 }
 
-- 
2.1.0


             reply	other threads:[~2014-10-07 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07 16:04 Alex Gal [this message]
2014-10-10 10:07 ` [PATCH] Adds Sony Move Navigation controller Szymon Janc
2014-10-15 11:24   ` Alex Gal

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=1412697877-7508-1-git-send-email-a.gal@miip.ca \
    --to=a.gal@miip.ca \
    --cc=linux-bluetooth@vger.kernel.org \
    /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