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 /rust/helpers.c | |
parent | f80d7100f091e96b54beb32dc6d136520453582f (diff) |
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 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions