Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306618
b: refs/heads/master
c: 616575c
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed May 11, 2012
1 parent a675b6c commit 670d5ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b7e09fad9582df27fd72edd018a9c59d085f896
refs/heads/master: 616575c2d2460a9b7868f41901f3b0f6e1451f31
10 changes: 2 additions & 8 deletions trunk/drivers/input/mouse/alps.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,7 @@ static void alps_process_touchpad_packet_v3(struct psmouse *psmouse)

alps_report_semi_mt_data(dev, fingers, x1, y1, x2, y2);

input_report_key(dev, BTN_TOOL_FINGER, fingers == 1);
input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2);
input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3);
input_report_key(dev, BTN_TOOL_QUADTAP, fingers == 4);
input_mt_report_finger_count(dev, fingers);

input_report_key(dev, BTN_LEFT, left);
input_report_key(dev, BTN_RIGHT, right);
Expand Down Expand Up @@ -685,10 +682,7 @@ static void alps_process_packet_v4(struct psmouse *psmouse)

alps_report_semi_mt_data(dev, fingers, x1, y1, x2, y2);

input_report_key(dev, BTN_TOOL_FINGER, fingers == 1);
input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2);
input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3);
input_report_key(dev, BTN_TOOL_QUADTAP, fingers == 4);
input_mt_report_finger_count(dev, fingers);

input_report_key(dev, BTN_LEFT, left);
input_report_key(dev, BTN_RIGHT, right);
Expand Down

0 comments on commit 670d5ac

Please sign in to comment.