Skip to contentSkip to conversation

Fix DVBsky rc-keymap

PATCH Nibble Max 2 participants 2 messages Mar 10, 2015 Media (V4L/DVB)

lore
Share & tools
lore

Nibble Max

author
#0 lore raw

Hello,

Mapping VOLUME and CHANNEL keys to the general ones will break some tv softwares remote control functions.

Best Regards,
Max

Quoted 35 lines · Dirk Nehring

---
drivers/media/rc/keymaps/rc-dvbsky.c | 12 ++++++------

1 file changed, 6 insertions(+), 6 deletions(-)
drivers/media/rc/keymaps/rc-dvbsky.c +6 -6
index c5115a1..b942b16 100644
@@ -33,16 +33,16 @@ static struct rc_map_table rc5_dvbsky[] = {
 	{ 0x000b, KEY_STOP },
 	{ 0x000c, KEY_EXIT },
 	{ 0x000e, KEY_CAMERA }, /*Snap shot*/
-	{ 0x000f, KEY_SUBTITLE }, /*PIP*/
-	{ 0x0010, KEY_VOLUMEUP },
-	{ 0x0011, KEY_VOLUMEDOWN },
+	{ 0x000f, KEY_TV2 }, /*PIP*/
+	{ 0x0010, KEY_RIGHT },
+	{ 0x0011, KEY_LEFT },
 	{ 0x0012, KEY_FAVORITES },
-	{ 0x0013, KEY_LIST }, /*Info*/
+	{ 0x0013, KEY_INFO },
 	{ 0x0016, KEY_PAUSE },
 	{ 0x0017, KEY_PLAY },
 	{ 0x001f, KEY_RECORD },
-	{ 0x0020, KEY_CHANNELDOWN },
-	{ 0x0021, KEY_CHANNELUP },
+	{ 0x0020, KEY_UP },
+	{ 0x0021, KEY_DOWN },
 	{ 0x0025, KEY_POWER2 },
 	{ 0x0026, KEY_REWIND },
 	{ 0x0027, KEY_FASTFORWARD },
Signature · 1 line
2.1.0
#1 lore raw
Quoted 3 lines · Nibble Max

Hello,

Mapping VOLUME and CHANNEL keys to the general ones will break some tv softwares remote control functions.

The remote control has no volume and channel control, I would leave it to the general mapping. Tested successfully with vdr 2.2.0.

Best regards,

Dirk

Quoted 40 lines

Best Regards,
Max

Quoted 35 lines · Dirk Nehring

---
drivers/media/rc/keymaps/rc-dvbsky.c | 12 ++++++------

1 file changed, 6 insertions(+), 6 deletions(-)
drivers/media/rc/keymaps/rc-dvbsky.c +6 -6
index c5115a1..b942b16 100644
@@ -33,16 +33,16 @@ static struct rc_map_table rc5_dvbsky[] = {
 	{ 0x000b, KEY_STOP },
 	{ 0x000c, KEY_EXIT },
 	{ 0x000e, KEY_CAMERA }, /*Snap shot*/
-	{ 0x000f, KEY_SUBTITLE }, /*PIP*/
-	{ 0x0010, KEY_VOLUMEUP },
-	{ 0x0011, KEY_VOLUMEDOWN },
+	{ 0x000f, KEY_TV2 }, /*PIP*/
+	{ 0x0010, KEY_RIGHT },
+	{ 0x0011, KEY_LEFT },
 	{ 0x0012, KEY_FAVORITES },
-	{ 0x0013, KEY_LIST }, /*Info*/
+	{ 0x0013, KEY_INFO },
 	{ 0x0016, KEY_PAUSE },
 	{ 0x0017, KEY_PLAY },
 	{ 0x001f, KEY_RECORD },
-	{ 0x0020, KEY_CHANNELDOWN },
-	{ 0x0021, KEY_CHANNELUP },
+	{ 0x0020, KEY_UP },
+	{ 0x0021, KEY_DOWN },
 	{ 0x0025, KEY_POWER2 },
 	{ 0x0026, KEY_REWIND },
 	{ 0x0027, KEY_FASTFORWARD },
Signature · 1 line
2.1.0