diff options
author | Mateusz Jończyk <mat.jonczyk@o2.pl> | 2021-04-06 20:25:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 10:00:03 +0200 |
commit | b3c5bfc43c5efc0ba6fec752bf5f5e852a1ef913 (patch) | |
tree | ce90315f3d91e1ddd9269ab239805031b40fd4f8 /drivers/hid/hid-input.c | |
parent | be6c9887920560b59b9d7d38261ebccdb876c470 (diff) | |
download | kernel_replicant_linux-b3c5bfc43c5efc0ba6fec752bf5f5e852a1ef913.tar.gz kernel_replicant_linux-b3c5bfc43c5efc0ba6fec752bf5f5e852a1ef913.tar.bz2 kernel_replicant_linux-b3c5bfc43c5efc0ba6fec752bf5f5e852a1ef913.zip |
HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
[ Upstream commit 9858c74c29e12be5886280725e781cb735b2aca6 ]
This mouse has a horizontal wheel that requires special handling.
Without this patch, the horizontal wheel acts like a vertical wheel.
In the output of `hidrd-convert` for this mouse, there is a
`Usage (B8h)` field. It corresponds to a byte in packets sent by the
device that specifies which wheel generated an input event.
The name "A4TECH" is spelled in all capitals on the company website.
Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid/hid-input.c')
0 files changed, 0 insertions, 0 deletions