Commit 04efa85e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] rc/keymaps: Use KEY_LEFTMETA were pertinent

Using xev and testing the "Windows" key on a normal keyboard, it
is mapped as KEY_LEFTMETA. So, as this is the standard code for
it, use it, instead of a generic, meaningless KEY_PROG1.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
parent d9e9f41c
...@@ -111,7 +111,7 @@ static struct rc_map_table imon_mce[] = { ...@@ -111,7 +111,7 @@ static struct rc_map_table imon_mce[] = {
{ 0x800ff44d, KEY_TITLE }, { 0x800ff44d, KEY_TITLE },
{ 0x800ff40c, KEY_POWER }, { 0x800ff40c, KEY_POWER },
{ 0x800ff40d, KEY_PROG1 }, /* Windows MCE button */ { 0x800ff40d, KEY_LEFTMETA }, /* Windows MCE button */
}; };
......
...@@ -125,7 +125,7 @@ static struct rc_map_table imon_pad[] = { ...@@ -125,7 +125,7 @@ static struct rc_map_table imon_pad[] = {
{ 0x2b8195b7, KEY_CONTEXT_MENU }, /* Left Menu*/ { 0x2b8195b7, KEY_CONTEXT_MENU }, /* Left Menu*/
{ 0x02000065, KEY_COMPOSE }, /* RightMenu */ { 0x02000065, KEY_COMPOSE }, /* RightMenu */
{ 0x28b715b7, KEY_COMPOSE }, /* RightMenu */ { 0x28b715b7, KEY_COMPOSE }, /* RightMenu */
{ 0x2ab195b7, KEY_PROG1 }, /* Go or MultiMon */ { 0x2ab195b7, KEY_LEFTMETA }, /* Go or MultiMon */
{ 0x29b715b7, KEY_DASHBOARD }, /* AppLauncher */ { 0x29b715b7, KEY_DASHBOARD }, /* AppLauncher */
}; };
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
*/ */
static struct rc_map_table kworld_plus_tv_analog[] = { static struct rc_map_table kworld_plus_tv_analog[] = {
{ 0x0c, KEY_PROG1 }, /* Kworld key */ { 0x0c, KEY_LEFTMETA }, /* Kworld key */
{ 0x16, KEY_CLOSECD }, /* -> ) */ { 0x16, KEY_CLOSECD }, /* -> ) */
{ 0x1d, KEY_POWER2 }, { 0x1d, KEY_POWER2 },
......
...@@ -30,7 +30,7 @@ static struct rc_map_table rc6_mce[] = { ...@@ -30,7 +30,7 @@ static struct rc_map_table rc6_mce[] = {
{ 0x800f040a, KEY_DELETE }, { 0x800f040a, KEY_DELETE },
{ 0x800f040b, KEY_ENTER }, { 0x800f040b, KEY_ENTER },
{ 0x800f040c, KEY_POWER }, /* PC Power */ { 0x800f040c, KEY_POWER }, /* PC Power */
{ 0x800f040d, KEY_PROG1 }, /* Windows MCE button */ { 0x800f040d, KEY_LEFTMETA }, /* Windows MCE button */
{ 0x800f040e, KEY_MUTE }, { 0x800f040e, KEY_MUTE },
{ 0x800f040f, KEY_INFO }, { 0x800f040f, KEY_INFO },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment