# \[PATCH\] Add support for Logitech Harmony Adapter for PS3

- From: David Dillow \<dave@thedillows.org\>
- Date: 2012-08-31 02:06:00 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2012/08/9625131
- Thread: https://ratatoskr.run/linux-bluetooth/2012/08/9625131/t.md

```text
This emulates a Sony BD Remote for the Logitech Harmony series of
universal remotes.
--
 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,
+	},
 
 	{ },
 };


```
