Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5446
b: refs/heads/master
c: 7b4019d
h: refs/heads/master
v: v3
  • Loading branch information
Vojtech Pavlik authored and Dmitry Torokhov committed Jul 15, 2005
1 parent d697560 commit abd427e
Show file tree
Hide file tree
Showing 3 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: bc5d04822bd9f34ea93a681f05f5e5683935d574
refs/heads/master: 7b4019d04895de7407c9989895c3664c24ed01f7
2 changes: 0 additions & 2 deletions trunk/drivers/input/mouse/logips2pp.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@ int ps2pp_init(struct psmouse *psmouse, int set_properties)

if (buttons < 3)
clear_bit(BTN_MIDDLE, psmouse->dev.keybit);
if (buttons < 2)
clear_bit(BTN_RIGHT, psmouse->dev.keybit);

if (model_info)
ps2pp_set_model_properties(psmouse, model_info, use_ps2pp);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/input/mouse/psmouse-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ static int intellimouse_detect(struct psmouse *psmouse, int set_properties)
return -1;

if (set_properties) {
set_bit(BTN_MIDDLE, psmouse->dev.keybit);
set_bit(REL_WHEEL, psmouse->dev.relbit);

if (!psmouse->vendor) psmouse->vendor = "Generic";
Expand Down Expand Up @@ -376,6 +377,7 @@ static int im_explorer_detect(struct psmouse *psmouse, int set_properties)
return -1;

if (set_properties) {
set_bit(BTN_MIDDLE, psmouse->dev.keybit);
set_bit(REL_WHEEL, psmouse->dev.relbit);
set_bit(BTN_SIDE, psmouse->dev.keybit);
set_bit(BTN_EXTRA, psmouse->dev.keybit);
Expand Down

0 comments on commit abd427e

Please sign in to comment.