mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
platform/x86: hp-wmi: Support touchpad on/off
[ Upstream commit401199ffa9
] Add scancodes reported by the touchpad on/off button. The actual disabling and enabling is done in hardware, and this just reports that change to userspace. Signed-off-by: Daniel Houldsworth <dhould3@gmail.com> Link: https://lore.kernel.org/r/20220922115459.6511-1-dhould3@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Stable-dep-of:decab2825c
("platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
84ad5e7aa6
commit
116d795fce
1 changed files with 11 additions and 9 deletions
|
@ -162,6 +162,8 @@ static const struct key_entry hp_wmi_keymap[] = {
|
||||||
{ KE_KEY, 0x213b, { KEY_INFO } },
|
{ KE_KEY, 0x213b, { KEY_INFO } },
|
||||||
{ KE_KEY, 0x2169, { KEY_ROTATE_DISPLAY } },
|
{ KE_KEY, 0x2169, { KEY_ROTATE_DISPLAY } },
|
||||||
{ KE_KEY, 0x216a, { KEY_SETUP } },
|
{ KE_KEY, 0x216a, { KEY_SETUP } },
|
||||||
|
{ KE_KEY, 0x21a9, { KEY_TOUCHPAD_OFF } },
|
||||||
|
{ KE_KEY, 0x121a9, { KEY_TOUCHPAD_ON } },
|
||||||
{ KE_KEY, 0x231b, { KEY_HELP } },
|
{ KE_KEY, 0x231b, { KEY_HELP } },
|
||||||
{ KE_END, 0 }
|
{ KE_END, 0 }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue