Input: synaptics-rmi4 - forward upper mechanical buttons to PS/2 guest
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 8 Feb 2017 08:26:45 +0000 (00:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Feb 2017 21:01:34 +0000 (13:01 -0800)
commit81dec809aa728798c3ebff18c3d2d678237273aa
treea60e4a786645739776741b2f2b6b37082e1edee4
parentbf3e8502eefdbb7ac1b8163e5c3acdcb505ae745
Input: synaptics-rmi4 - forward upper mechanical buttons to PS/2 guest

On the latest series of ThinkPads, the button events for the TrackPoint
are reported through the touchpad itself as opposed to the TrackPoint
device. In order to report these buttons properly, we need to forward
them to the TrackPoint device and notify psmouse to send the button
presses/releases.

Signed-off-by: Lyude Paul <thatslyude@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.h
drivers/input/rmi4/rmi_f03.c
drivers/input/rmi4/rmi_f30.c