acer-wmi: add Aspire 5741G touchpad toggle key
Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing "acer_wmi: Unknown key number - 0x85" error. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
Родитель
8e2286ce07
Коммит
68825ce20e
|
@ -129,6 +129,7 @@ static const struct key_entry acer_wmi_keymap[] = {
|
||||||
{KE_KEY, KEY_TOUCHPAD_ON, {KEY_TOUCHPAD_ON} },
|
{KE_KEY, KEY_TOUCHPAD_ON, {KEY_TOUCHPAD_ON} },
|
||||||
{KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} },
|
{KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} },
|
||||||
{KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} },
|
{KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} },
|
||||||
|
{KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} },
|
||||||
{KE_END, 0}
|
{KE_END, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче