Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Adds Sony Move Navigation controller.
@ 2014-10-07 16:04 Alex Gal
  2014-10-10 10:07 ` Szymon Janc
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Gal @ 2014-10-07 16:04 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Alex Gal

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-15 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 16:04 [PATCH] Adds Sony Move Navigation controller Alex Gal
2014-10-10 10:07 ` Szymon Janc
2014-10-15 11:24   ` Alex Gal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox