]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] fix MSI DIGIVOX mini III remote controller power buttons
authorAntti Palosaari <crope@iki.fi>
Tue, 12 Oct 2010 20:08:10 +0000 (17:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:18:11 +0000 (01:18 -0200)
Fix power button mappings as defined in
http://www.linuxtv.org/wiki/index.php/Remote_Controllers

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/keymaps/rc-msi-digivox-iii.c

index 8ea3960347c311303d9d20019d5dab95998bd4cb..882056e52ef963468ce9e8c943afb0ade9e97ad9 100644 (file)
@@ -27,7 +27,7 @@
 static struct ir_scancode msi_digivox_iii[] = {
        { 0x61d601, KEY_VIDEO },           /* Source */
        { 0x61d602, KEY_3 },
-       { 0x61d603, KEY_POWER2 },          /* ShutDown */
+       { 0x61d603, KEY_POWER },           /* ShutDown */
        { 0x61d604, KEY_1 },
        { 0x61d605, KEY_5 },
        { 0x61d606, KEY_6 },
@@ -56,7 +56,7 @@ static struct ir_scancode msi_digivox_iii[] = {
        { 0x61d61d, KEY_GREEN },
        { 0x61d61e, KEY_YELLOW },
        { 0x61d61f, KEY_BLUE },
-       { 0x61d643, KEY_POWER },           /* [red power button] */
+       { 0x61d643, KEY_POWER2 },          /* [red power button] */
 };
 
 static struct rc_keymap msi_digivox_iii_map = {