Commit b522dd73 authored by James Harmison's avatar James Harmison Committed by Hans de Goede
Browse files

platform/x86: panasonic-laptop: Add support for programmable buttons



The value returned by "HINF" contains press/release information
in bit 7 and a keycode in bits 0-6.

Change the code to retrieve the keycode to use all 7 keycode bits instead
of only using bits 0-3 and add mappings for the higher keycodes used by
the programmable buttons found on newer panasonic toughbook models.

Tested-by: default avatarJames Harmison <jharmison@redhat.com>
Signed-off-by: default avatarJames Harmison <jharmison@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240909113227.254470-3-hdegoede@redhat.com
parent f80d7100
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment