summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-rc6-mce.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-24 12:18:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 19:24:06 -0300
commit04efa85e03b25c5b519e495485d005a8b69ccdab (patch)
tree10defcc0a81fca07251fe6ce47011aaecf9eb0ea /drivers/media/rc/keymaps/rc-rc6-mce.c
parentd9e9f41c45536b68b14934949104cb40149e94f1 (diff)
downloadblackbird-op-linux-04efa85e03b25c5b519e495485d005a8b69ccdab.tar.gz
blackbird-op-linux-04efa85e03b25c5b519e495485d005a8b69ccdab.zip
[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: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-rc6-mce.c')
-rw-r--r--drivers/media/rc/keymaps/rc-rc6-mce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/keymaps/rc-rc6-mce.c b/drivers/media/rc/keymaps/rc-rc6-mce.c
index 2f5dc0622b94..8dd519ecc58e 100644
--- a/drivers/media/rc/keymaps/rc-rc6-mce.c
+++ b/drivers/media/rc/keymaps/rc-rc6-mce.c
@@ -30,7 +30,7 @@ static struct rc_map_table rc6_mce[] = {
{ 0x800f040a, KEY_DELETE },
{ 0x800f040b, KEY_ENTER },
{ 0x800f040c, KEY_POWER }, /* PC Power */
- { 0x800f040d, KEY_PROG1 }, /* Windows MCE button */
+ { 0x800f040d, KEY_LEFTMETA }, /* Windows MCE button */
{ 0x800f040e, KEY_MUTE },
{ 0x800f040f, KEY_INFO },
OpenPOWER on IntegriCloud