diff options
| author | James Harmison <jharmison@redhat.com> | 2024-09-09 13:32:27 +0200 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2024-09-11 14:21:28 +0200 |
| commit | b522dd730b9680fdbd525ba2a1e781ccba5b69cb (patch) | |
| tree | bd664e35f067931dcd2b3cb0dd7d7f11a456ad30 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | platform/olpc: Remove redundant null pointer checks in olpc_ec_setup_debugfs() (diff) | |
| download | linux-b522dd730b9680fdbd525ba2a1e781ccba5b69cb.tar.gz linux-b522dd730b9680fdbd525ba2a1e781ccba5b69cb.zip | |
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: James Harmison <jharmison@redhat.com>
Signed-off-by: James Harmison <jharmison@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240909113227.254470-3-hdegoede@redhat.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
