Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174233
b: refs/heads/master
c: 21f2557
h: refs/heads/master
i:
  174231: 0e092a6
v: v3
  • Loading branch information
Dmitry Torokhov committed Nov 20, 2009
1 parent 196d83f commit 445cac6
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: d69249f4b6857c0b23ceca270ae591381b16bba9
refs/heads/master: 21f25573fbd1b459d5401f2b72160f745013fc34
3 changes: 2 additions & 1 deletion trunk/drivers/input/mouse/touchkit_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties)

if (set_properties) {
dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
__set_bit(BTN_TOUCH, dev->keybit);
dev->keybit[BIT_WORD(BTN_MOUSE)] = 0;
dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
input_set_abs_params(dev, ABS_X, 0, TOUCHKIT_MAX_XC, 0, 0);
input_set_abs_params(dev, ABS_Y, 0, TOUCHKIT_MAX_YC, 0, 0);

Expand Down

0 comments on commit 445cac6

Please sign in to comment.