All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add support for Geniatech/MyGica U870 remote control
@ 2009-10-28 19:45 Vagner Nishimoto
  0 siblings, 0 replies; only message in thread
From: Vagner Nishimoto @ 2009-10-28 19:45 UTC (permalink / raw)
  To: linux-media; +Cc: pboettcher

Hi,

This patch add codes for the "Total Media In Hand" remote control used by
Geniatech/MyGica U870 and X8507.

Thank's

Signed-off-by: Vagner Nishimoto <vnishimoto@tutopia.com.br>

--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2009-09-20
15:14:20.000000000 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2009-10-26
03:34:52.062907991 -0200
@@ -926,6 +926,43 @@ static struct dvb_usb_rc_key dib0700_rc_

 	{ 0x8618, KEY_RECORD },
 	{ 0x861a, KEY_STOP },
+
+	/* Key codes for the Total Media In Hand (Geniatech/MyGica U870 remote control) */
+	{ 0x0038, KEY_TV },
+	{ 0x000c, KEY_MEDIA },
+	{ 0x0001, KEY_1 },
+	{ 0x0002, KEY_2 },
+	{ 0x0003, KEY_3 },
+	{ 0x0004, KEY_4 },
+	{ 0x0005, KEY_5 },
+	{ 0x0006, KEY_6 },
+	{ 0x0007, KEY_7 },
+	{ 0x0008, KEY_8 },
+	{ 0x0009, KEY_9 },
+	{ 0x0000, KEY_0 },
+	{ 0x000a, KEY_MUTE },
+	{ 0x0029, KEY_ESC },
+	{ 0x0012, KEY_CHANNELUP },
+	{ 0x0013, KEY_CHANNELDOWN },
+	{ 0x002b, KEY_VOLUMEUP },
+	{ 0x002c, KEY_VOLUMEDOWN },
+	{ 0x0020, KEY_UP },
+	{ 0x0021, KEY_DOWN },
+	{ 0x0011, KEY_LEFT },
+	{ 0x0010, KEY_RIGHT },
+	{ 0x000d, KEY_OK },
+	{ 0x001f, KEY_RECORD },
+	{ 0x0017, KEY_PLAY },
+	{ 0x0016, KEY_PAUSE },
+	{ 0x000b, KEY_STOP },
+	{ 0x0027, KEY_FASTFORWARD },
+	{ 0x0026, KEY_REWIND },
+	{ 0x001e, KEY_TIME },
+	{ 0x000e, KEY_CAMERA },
+	{ 0x002d, KEY_MENU },
+	{ 0x000f, KEY_ZOOM },
+	{ 0x0014, KEY_SHUFFLE },
+	{ 0x0025, KEY_POWER },
 };

 /* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-28 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 19:45 [PATCH] Add support for Geniatech/MyGica U870 remote control Vagner Nishimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.