Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210024
b: refs/heads/master
c: 268ba5c
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Fritz authored and Dmitry Torokhov committed Aug 25, 2010
1 parent c6a2c75 commit 44e9a16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 8905aaafb4b5d9764c5b4b54c7d03eb41bb0a7e9
refs/heads/master: 268ba5c05b82af575819bd719a2facb2a3169260
8 changes: 4 additions & 4 deletions trunk/drivers/input/mousedev.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ static void mousedev_touchpad_event(struct input_dev *dev,

fx(0) = value;
if (mousedev->touch && mousedev->pkt_count >= 2) {
size = input_abs_get_min(dev, ABS_X) -
input_abs_get_max(dev, ABS_X);
size = input_abs_get_max(dev, ABS_X) -
input_abs_get_min(dev, ABS_X);
if (size == 0)
size = 256 * 2;

Expand All @@ -155,8 +155,8 @@ static void mousedev_touchpad_event(struct input_dev *dev,
fy(0) = value;
if (mousedev->touch && mousedev->pkt_count >= 2) {
/* use X size for ABS_Y to keep the same scale */
size = input_abs_get_min(dev, ABS_X) -
input_abs_get_max(dev, ABS_X);
size = input_abs_get_max(dev, ABS_X) -
input_abs_get_min(dev, ABS_X);
if (size == 0)
size = 256 * 2;

Expand Down

0 comments on commit 44e9a16

Please sign in to comment.