Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179309
b: refs/heads/master
c: c332e9f
h: refs/heads/master
i:
  179307: 74228f8
v: v3
  • Loading branch information
Tai-hwa Liang authored and Dmitry Torokhov committed Jan 13, 2010
1 parent 5831fcc commit efe23b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 4a18b3ab6ed537b055e3fcfca64ab870b4f9acf0
refs/heads/master: c332e9fcc5289698350d39d4d22c3ed5257d7a80
6 changes: 3 additions & 3 deletions trunk/drivers/input/mouse/sentelic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Finger Sensing Pad PS/2 mouse driver.
*
* Copyright (C) 2005-2007 Asia Vital Components Co., Ltd.
* Copyright (C) 2005-2009 Tai-hwa Liang, Sentelic Corporation.
* Copyright (C) 2005-2010 Tai-hwa Liang, Sentelic Corporation.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -658,9 +658,9 @@ static psmouse_ret_t fsp_process_byte(struct psmouse *psmouse)
if (packet[3] & BIT(1))
button_status |= 0x0f; /* wheel up */
if (packet[3] & BIT(2))
button_status |= BIT(5);/* horizontal left */
button_status |= BIT(4);/* horizontal left */
if (packet[3] & BIT(3))
button_status |= BIT(4);/* horizontal right */
button_status |= BIT(5);/* horizontal right */
/* push back to packet queue */
if (button_status != 0)
packet[3] = button_status;
Expand Down

0 comments on commit efe23b9

Please sign in to comment.