Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39835
b: refs/heads/master
c: 5dfb5f1
h: refs/heads/master
i:
  39833: 849be6c
  39831: c678684
v: v3
  • Loading branch information
Daniel Ritz authored and Greg Kroah-Hartman committed Oct 17, 2006
1 parent 5d2c668 commit 9cef3dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9ab99c8c513313c1c5931bdbd27dcc4bc7a3b7cd
refs/heads/master: 5dfb5f1d060a6f7dfddb78dc59f9e4d299088cc1
4 changes: 2 additions & 2 deletions trunk/drivers/usb/input/usbtouchscreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ static int itm_read_data(unsigned char *pkt, int *x, int *y, int *touch, int *pr
{
*x = ((pkt[0] & 0x1F) << 7) | (pkt[3] & 0x7F);
*y = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F);
*press = ((pkt[2] & 0x1F) << 7) | (pkt[5] & 0x7F);
*press = ((pkt[2] & 0x01) << 7) | (pkt[5] & 0x7F);
*touch = ~pkt[7] & 0x20;

return 1;
return *touch;
}
#endif

Expand Down

0 comments on commit 9cef3dd

Please sign in to comment.