aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorVicki Pfau <[email protected]>2025-05-11 05:59:25 +0000
committerDmitry Torokhov <[email protected]>2025-05-11 06:08:17 +0000
commit4ef46367073b107ec22f46fe5f12176e87c238e8 (patch)
tree3f07007dea1d7f1c24455c9631a286a624943118 /rust/helpers/mutex.c
parentInput: xpad - fix two controller table values (diff)
downloadkernel-4ef46367073b107ec22f46fe5f12176e87c238e8.tar.gz
kernel-4ef46367073b107ec22f46fe5f12176e87c238e8.zip
Input: xpad - fix Share button on Xbox One controllers
The Share button, if present, is always one of two offsets from the end of the file, depending on the presence of a specific interface. As we lack parsing for the identify packet we can't automatically determine the presence of that interface, but we can hardcode which of these offsets is correct for a given controller. More controllers are probably fixable by adding the MAP_SHARE_BUTTON in the future, but for now I only added the ones that I have the ability to test directly. Signed-off-by: Vicki Pfau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions