* [PATCH 1/2] plugins/sixaxis: Add Sony Navigation Controller
@ 2014-11-06 15:29 Alex Gal
2014-11-06 15:29 ` [PATCH 2/2] profiles/input: " Alex Gal
2014-11-07 21:00 ` [PATCH 1/2] plugins/sixaxis: " Szymon Janc
0 siblings, 2 replies; 3+ messages in thread
From: Alex Gal @ 2014-11-06 15:29 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Alex Gal
---
plugins/sixaxis.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index b09404a..ac53ba9 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -60,6 +60,13 @@ static const struct {
.pid = 0x0268,
.version = 0x0000,
},
+ {
+ .name = "Navigation Controller",
+ .source = 0x0002,
+ .vid = 0x054c,
+ .pid = 0x042f,
+ .version = 0x0000,
+ },
};
struct leds_data {
--
2.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] profiles/input: Add Sony Navigation Controller
2014-11-06 15:29 [PATCH 1/2] plugins/sixaxis: Add Sony Navigation Controller Alex Gal
@ 2014-11-06 15:29 ` Alex Gal
2014-11-07 21:00 ` [PATCH 1/2] plugins/sixaxis: " Szymon Janc
1 sibling, 0 replies; 3+ messages in thread
From: Alex Gal @ 2014-11-06 15:29 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Alex Gal
---
profiles/input/server.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/profiles/input/server.c b/profiles/input/server.c
index 307db96..50a9074 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;
+ /* Navigation Controller */
+ if (vid == 0x054c && pid == 0x042f)
+ return true;
+
return false;
}
--
2.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] plugins/sixaxis: Add Sony Navigation Controller
2014-11-06 15:29 [PATCH 1/2] plugins/sixaxis: Add Sony Navigation Controller Alex Gal
2014-11-06 15:29 ` [PATCH 2/2] profiles/input: " Alex Gal
@ 2014-11-07 21:00 ` Szymon Janc
1 sibling, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2014-11-07 21:00 UTC (permalink / raw)
To: Alex Gal; +Cc: linux-bluetooth
Hi Alex,
On Thursday 06 of November 2014 10:29:13 Alex Gal wrote:
> ---
> plugins/sixaxis.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
> index b09404a..ac53ba9 100644
> --- a/plugins/sixaxis.c
> +++ b/plugins/sixaxis.c
> @@ -60,6 +60,13 @@ static const struct {
> .pid = 0x0268,
> .version = 0x0000,
> },
> + {
> + .name = "Navigation Controller",
> + .source = 0x0002,
> + .vid = 0x054c,
> + .pid = 0x042f,
> + .version = 0x0000,
> + },
> };
>
> struct leds_data {
Both patches applied, thanks.
--
BR
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-07 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 15:29 [PATCH 1/2] plugins/sixaxis: Add Sony Navigation Controller Alex Gal
2014-11-06 15:29 ` [PATCH 2/2] profiles/input: " Alex Gal
2014-11-07 21:00 ` [PATCH 1/2] plugins/sixaxis: " Szymon Janc
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).