Re: [PATCH] Add support for Logitech Harmony Adapter for PS3

From
Bastien Nocera <hadess@hadess.net>
Date
2012-09-05 18:34:48
Reply to
David Dillow, 2012-08-31
On Thu, 2012-08-30 at 22:06 -0400, David Dillow wrote:
This emulates a Sony BD Remote for the Logitech Harmony series of
universal remotes.
Can't test this, but looks good to me.
quoted hunk ↗ jump to hunk
 profiles/input/fakehid.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/profiles/input/fakehid.c b/profiles/input/fakehid.c
index 3be1489..dd47287 100644
--- a/profiles/input/fakehid.c
+++ b/profiles/input/fakehid.c
@@ -342,6 +342,16 @@ static struct fake_hid fake_hid_table[] = {
 		.setup_uinput	= ps3remote_setup_uinput,
 		.devices	= NULL,
 	},
+	/* Logitech Harmony Adapter for PS3 */
+	{
+		.vendor		= 0x046d,
+		.product	= 0x0306,
+		.connect	= fake_hid_common_connect,
+		.disconnect	= fake_hid_common_disconnect,
+		.event		= ps3remote_event,
+		.setup_uinput	= ps3remote_setup_uinput,
+		.devices	= NULL,
+	},
 
 	{ },
 };


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Thread (30 messages) 30 messages, 6 authors, last reply 2012-09-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help