2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00

[media] fix MSI DIGIVOX mini III remote controller power buttons

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>
This commit is contained in:
Antti Palosaari 2010-10-12 17:08:10 -03:00 committed by Mauro Carvalho Chehab
parent 20d747b4c4
commit f8b3d9a002

View File

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