summaryrefslogtreecommitdiff
path: root/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-24 12:18:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 19:24:04 -0300
commit6f9e46b44785eb9cc59e638970e7aa443ff6fe5e (patch)
tree1021127d808670ac8b02321f3bc2fb3c870498eb /drivers/media/rc/keymaps/rc-avermedia-dvbt.c
parent444cc20b3d6141a5fa9a9774a6b710e16af6110d (diff)
downloadlwn-6f9e46b44785eb9cc59e638970e7aa443ff6fe5e.tar.gz
lwn-6f9e46b44785eb9cc59e638970e7aa443ff6fe5e.zip
[media] rc/keymaps: Use KEY_VIDEO for Video Source
Each keyboard map were using a different definition for the Source/Video Source key. Behold Columbus were the only one using KEY_PROPS. As we want to standardize those keys at X11 and at userspace applications, we need to use just one code for it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-avermedia-dvbt.c')
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-dvbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
index 3ddb41bc075e..c25809d4c813 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
@@ -26,12 +26,12 @@ static struct rc_map_table avermedia_dvbt[] = {
{ 0x16, KEY_8 }, /* '8' / 'down arrow' */
{ 0x36, KEY_9 }, /* '9' */
- { 0x20, KEY_LIST }, /* 'source' */
+ { 0x20, KEY_VIDEO }, /* 'source' */
{ 0x10, KEY_TEXT }, /* 'teletext' */
{ 0x00, KEY_POWER }, /* 'power' */
{ 0x04, KEY_AUDIO }, /* 'audio' */
{ 0x06, KEY_ZOOM }, /* 'full screen' */
- { 0x18, KEY_VIDEO }, /* 'display' */
+ { 0x18, KEY_SWITCHVIDEOMODE }, /* 'display' */
{ 0x38, KEY_SEARCH }, /* 'loop' */
{ 0x08, KEY_INFO }, /* 'preview' */
{ 0x2a, KEY_REWIND }, /* 'backward <<' */