Skip to content

Commit 790aefa

Browse files
t-8chgregkh
authored andcommitted
platform/x86: asus-nb-wmi: Add alternate mapping for KEY_CAMERA
[ Upstream commit c78a4e1 ] This keycode is emitted on a Asus VivoBook E410MAB with firmware E410MAB.304. The physical key has a strikken-through camera printed on it. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20221216-asus-key-v1-1-45da124119a3@weissschuh.net Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9527a86 commit 790aefa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/asus-nb-wmi.c

+1
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
544544
{ KE_KEY, 0x7D, { KEY_BLUETOOTH } }, /* Bluetooth Enable */
545545
{ KE_KEY, 0x7E, { KEY_BLUETOOTH } }, /* Bluetooth Disable */
546546
{ KE_KEY, 0x82, { KEY_CAMERA } },
547+
{ KE_KEY, 0x85, { KEY_CAMERA } },
547548
{ KE_KEY, 0x86, { KEY_PROG1 } }, /* MyASUS Key */
548549
{ KE_KEY, 0x88, { KEY_RFKILL } }, /* Radio Toggle Key */
549550
{ KE_KEY, 0x8A, { KEY_PROG1 } }, /* Color enhancement mode */

0 commit comments

Comments
 (0)