Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245272
b: refs/heads/master
c: 659e6ed
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven committed May 19, 2011
1 parent d38b53c commit 9ff7d54
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: 186f200a95cbd13c291cdd3ddeb07aad0a3782cc
refs/heads/master: 659e6ed55ff8d617c895c10288644e3e6107834e
8 changes: 4 additions & 4 deletions trunk/drivers/input/mouse/atarimouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ static void atamouse_interrupt(char *buf)
#endif

/* only relative events get here */
dx = buf[1];
dy = -buf[2];
dx = buf[1];
dy = buf[2];

input_report_rel(atamouse_dev, REL_X, dx);
input_report_rel(atamouse_dev, REL_Y, dy);

input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x1);
input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x4);
input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2);
input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x4);
input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x1);

input_sync(atamouse_dev);

Expand Down

0 comments on commit 9ff7d54

Please sign in to comment.