summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/focaltech.h
diff options
context:
space:
mode:
authorMathias Gottschlag2014-12-29 18:26:35 +0100
committerDmitry Torokhov2014-12-29 18:51:37 +0100
commit05be1d079ec0b3691783e4384b1ada82149ff7d2 (patch)
treebd305e4dba7394c5eba6992f0f03e02b4812a438 /drivers/input/mouse/focaltech.h
parentInput: add tps65218 power button driver (diff)
downloadkernel-qcow2-linux-05be1d079ec0b3691783e4384b1ada82149ff7d2.tar.gz
kernel-qcow2-linux-05be1d079ec0b3691783e4384b1ada82149ff7d2.tar.xz
kernel-qcow2-linux-05be1d079ec0b3691783e4384b1ada82149ff7d2.zip
Input: psmouse - support for the FocalTech PS/2 protocol extensions
Most of the protocol for these touchpads has been reverse engineered. This commit adds a basic multitouch-capable driver. A lot of the protocol is still unknown. Especially, we don't know how to identify the device yet apart from the PNP ID. The previous workaround for these devices has been left in place in case the driver is not compiled into the kernel or in case some other device with the same PNP ID is not recognized by the driver yet still has the same problems with the device probing code. Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/focaltech.h')
-rw-r--r--drivers/input/mouse/focaltech.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/focaltech.h b/drivers/input/mouse/focaltech.h
index 498650c61e28..71870a9b548a 100644
--- a/drivers/input/mouse/focaltech.h
+++ b/drivers/input/mouse/focaltech.h
@@ -2,6 +2,7 @@
* Focaltech TouchPad PS/2 mouse driver
*
* Copyright (c) 2014 Red Hat Inc.
+ * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,5 +19,6 @@
int focaltech_detect(struct psmouse *psmouse, bool set_properties);
int focaltech_init(struct psmouse *psmouse);
+bool focaltech_supported(void);
#endif