aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse.h
diff options
context:
space:
mode:
authorChris Diamand <chris@diamand.org>2016-01-27 17:04:35 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-01-27 17:27:25 -0800
commit98ee377144935857d8ad5d7d70cdab1da4ede32e (patch)
tree2654dd7858e4c0482f3a649a1fbebb3dc5b3ff3d /drivers/input/mouse/psmouse.h
parentInput: cyttsp - perform hard reset of the chip during probe (diff)
downloadlinux-dev-98ee377144935857d8ad5d7d70cdab1da4ede32e.tar.xz
linux-dev-98ee377144935857d8ad5d7d70cdab1da4ede32e.zip
Input: byd - add BYD PS/2 touchpad driver
Driver for the BYD BTP10463 touchpad, found in PC Specialist `Lafite' laptops. This patch sends the magic command sequence which causes the touchpad to stream intellimouse-style packets. Gestures are detected inside the touchpad, and exposed as special values in the Z component of each packet - absolute coordinates are not supported, even in the Windows driver. At present, this supports two-finger vertical and horizontal scrolling, and provides the framework to expose the other gestures it can recognize. Signed-off-by: Chris Diamand <chris@diamand.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r--drivers/input/mouse/psmouse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h
index ad5a5a1ea872..e0ca6cda3d16 100644
--- a/drivers/input/mouse/psmouse.h
+++ b/drivers/input/mouse/psmouse.h
@@ -104,6 +104,7 @@ enum psmouse_type {
PSMOUSE_CYPRESS,
PSMOUSE_FOCALTECH,
PSMOUSE_VMMOUSE,
+ PSMOUSE_BYD,
PSMOUSE_AUTO /* This one should always be last */
};