touchpad: Keep track of associated trackpoint device
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 16 Sep 2014 14:22:38 +0000 (16:22 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 18 Sep 2014 03:29:42 +0000 (13:29 +1000)
commita8ffc096bed1b9ebed7f2d870ddf5d743e2c83ee
tree5348ebb1e4ef901cff1c8a0b61f055eda503d480
parent3bf9b02d81403c4ae373fa230b6049ed23ec1734
touchpad: Keep track of associated trackpoint device

The top soft buttons are intended for use with a trackpoint, and to e.g.
make middle button scrolling work correctly, we must post the events for
these "buttons" through the trackpoint device.

This commit is a preparation patch for this, it adds a link to the
trackpoint to the touchpad, but does not yet do anything with it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h
src/evdev.c
src/evdev.h