summaryrefslogtreecommitdiffstats
path: root/kernel/kcmp.c
diff options
context:
space:
mode:
authorDaniel J. Ogorchock <djogorchock@gmail.com>2021-09-11 19:36:32 +0200
committerJiri Kosina <jkosina@suse.cz>2021-10-27 10:05:51 +0200
commitc7d0d636171fe9ece7a05ed88bf6a1d2af844ddd (patch)
tree35d7882760c738141c6fe23a8636dfcb7f5e49e6 /kernel/kcmp.c
parentHID: nintendo: send subcommands after receiving input report (diff)
downloadlinux-c7d0d636171fe9ece7a05ed88bf6a1d2af844ddd.tar.xz
linux-c7d0d636171fe9ece7a05ed88bf6a1d2af844ddd.zip
HID: nintendo: patch hw version for userspace HID mappings
This patch sets the most significant bit of the hid hw version to allow userspace to distinguish between this driver's input mappings vs. the default hid mappings. This prevents breaking userspace applications that use SDL2 for gamepad input, allowing them to distinguish the mappings based on the version. Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions