Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242175
b: refs/heads/master
c: 9890a9e
h: refs/heads/master
i:
  242173: bca9647
  242171: d8cf3ab
  242167: d3cab3b
  242159: b280c6e
  242143: d74a1a9
  242111: bf5ced2
  242047: e999827
  241919: ef5b642
  241663: 83152cc
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 22, 2011
1 parent 13dd835 commit 039da57
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0684f5b0fc2b543287abad03fc40e65d5e89d1ef
refs/heads/master: 9890a9edc8b8bba6d710499afb70e981e0b0dfae
36 changes: 35 additions & 1 deletion trunk/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static struct rc_map_table rc5_hauppauge_new[] = {

/*
* Old Remote Controller Hauppauge Gray with a golden screen
* Keycodes start with address = 0x1d
* Keycodes start with address = 0x1f
*/
{ 0x1f3d, KEY_POWER2 }, /* system power (green button) */
{ 0x1f3b, KEY_SELECT }, /* GO */
Expand Down Expand Up @@ -130,6 +130,7 @@ static struct rc_map_table rc5_hauppauge_new[] = {

/*
* Keycodes for DSR-0112 remote bundled with Haupauge MiniStick
* Keycodes start with address = 0x1d
*/
{ 0x1d00, KEY_0 },
{ 0x1d01, KEY_1 },
Expand Down Expand Up @@ -167,6 +168,39 @@ static struct rc_map_table rc5_hauppauge_new[] = {
{ 0x1d3b, KEY_GOTO },
{ 0x1d3d, KEY_POWER },
{ 0x1d3f, KEY_HOME },

/*
* Keycodes for the old Black Remote Controller
* This one also uses RC-5 protocol
* Keycodes start with address = 0x00
*/
{ 0x001f, KEY_TV },
{ 0x0020, KEY_CHANNELUP },
{ 0x000c, KEY_RADIO },

{ 0x0011, KEY_VOLUMEDOWN },
{ 0x002e, KEY_ZOOM }, /* full screen */
{ 0x0010, KEY_VOLUMEUP },

{ 0x000d, KEY_MUTE },
{ 0x0021, KEY_CHANNELDOWN },
{ 0x0022, KEY_VIDEO }, /* source */

{ 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 },

{ 0x001e, KEY_RED }, /* Reserved */
{ 0x0000, KEY_0 },
{ 0x0026, KEY_SLEEP }, /* Minimize */
};

static struct rc_map_list rc5_hauppauge_new_map = {
Expand Down

0 comments on commit 039da57

Please sign in to comment.