Hi Wanlong Gao,
On Thu, 18 Aug 2011 11:01:52 +0800, Wanlong Gao<gaowanlong@xxxxxxxxxxxxxx> wrote:On 08/18/2011 09:57 AM, JJ Ding wrote:OK, how do these names sound to you?v3 hardware's packet format is almost identical to v2 (one/three finger touch),elantech_check_parity_v1
except when sensing two finger touch, the hardware sends 12 bytes of data.
Signed-off-by: JJ Ding<jj_ding@xxxxxxxxxx>
---
Documentation/input/elantech.txt | 104 ++++++++++++++++--
drivers/input/mouse/elantech.c | 218 ++++++++++++++++++++++++++++++++++---
drivers/input/mouse/elantech.h | 11 ++
3 files changed, 303 insertions(+), 30 deletions(-)
+static int determine_packet_v3(struct psmouse *psmouse)
packet_simple_check_v2
determine_packet_v3
Why not consistent them?
elantech_check_parity_v1
elantech_packet_check_v2
elantech_packet_check_v3
Thanks,
jj