Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33847
b: refs/heads/master
c: 09494d5
h: refs/heads/master
i:
  33845: bc80576
  33843: f30f41f
  33839: 609fb1e
v: v3
  • Loading branch information
Kai Lindhom authored and Greg Kroah-Hartman committed Sep 7, 2006
1 parent 34acbf4 commit a50f5d6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: eaede2cb75f8f8d492342e7c1469635237b32795
refs/heads/master: 09494d5d11628f118496747b74db3e56d071c6bc
2 changes: 1 addition & 1 deletion trunk/drivers/usb/input/usbtouchscreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static int mtouch_init(struct usbtouch_usb *usbtouch)
static int itm_read_data(unsigned char *pkt, int *x, int *y, int *touch, int *press)
{
*x = ((pkt[0] & 0x1F) << 7) | (pkt[3] & 0x7F);
*x = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
*y = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
*press = ((pkt[2] & 0x1F) << 7) | (pkt[5] & 0x7F);
*touch = ~pkt[7] & 0x20;

Expand Down

0 comments on commit a50f5d6

Please sign in to comment.