Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204386
b: refs/heads/master
c: 8d93efb
h: refs/heads/master
v: v3
  • Loading branch information
Chase Douglas authored and Jiri Kosina committed Jun 24, 2010
1 parent 443d786 commit f9ad662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 9846f350ef4d4108c1154acfc125fe8d8630ef84
refs/heads/master: 8d93efb27ab8927ffc7a357f1b2d10039de50ed4
3 changes: 2 additions & 1 deletion trunk/drivers/hid/hid-magicmouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tda
case TOUCH_STATE_DRAG:
step = step / accel_profile[msc->scroll_accel];
if (step != 0) {
msc->touches[id].scroll_y = y;
msc->touches[id].scroll_y -=
step * accel_profile[msc->scroll_accel];
msc->scroll_jiffies = now;
input_report_rel(input, REL_WHEEL, step);
}
Expand Down

0 comments on commit f9ad662

Please sign in to comment.