Commit 2c5cbc9
committed
platform/x86: panasonic-laptop: Add support for programmable buttons
JIRA: https://issues.redhat.com/browse/RHEL-55365
commit b522dd7
Author: James Harmison <jharmison@redhat.com>
Date: Mon Sep 9 13:32:27 2024 +0200
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
Signed-off-by: David Arcari <darcari@redhat.com>1 parent 8fdf0df commit 2c5cbc9
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
227 | 239 | | |
228 | 240 | | |
229 | 241 | | |
| |||
830 | 842 | | |
831 | 843 | | |
832 | 844 | | |
833 | | - | |
834 | | - | |
| 845 | + | |
| 846 | + | |
835 | 847 | | |
836 | 848 | | |
837 | 849 | | |
| |||
0 commit comments