plugins/sixaxis: Add Sony Navigation Controller
PATCH 1/2 plugins/sixaxis: Add Sony Navigation Controller
--- plugins/sixaxis.c | 7 +++++++ 1 file changed, 7 insertions(+)
plugins/sixaxis.c +7 -0
@@ -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 {
Signature · 1 line
2.1.1
PATCH 2/2 profiles/input: Add Sony Navigation Controller
--- profiles/input/server.c | 4 ++++ 1 file changed, 4 insertions(+)
profiles/input/server.c +4 -0
@@ -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; }
Signature · 1 line
2.1.1
Hi Alex,
Quoted 12 lines · On Thursday 06 of November 2014 10:29:13 Alex Gal wrote:
--- plugins/sixaxis.c | 7 +++++++ 1 file changed, 7 insertions(+)plugins/sixaxis.c +0
-0@@ -60,6 +60,13 @@ static const struct { .pid = 0x0268, .version = 0x0000, },
plugins/sixaxis.c static const struct { · line 72
Quoted 10 lines
plugins/sixaxis.c +7
-0+ { + .name = "Navigation Controller", + .source = 0x0002, + .vid = 0x054c, + .pid = 0x042f, + .version = 0x0000, + }, };struct leds_data {
Both patches applied, thanks.
Signature · 2 lines
BR Szymon Janc