Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27008
b: refs/heads/master
c: 4f8b05e
h: refs/heads/master
v: v3
  • Loading branch information
Zbigniew Luszpinski authored and Dmitry Torokhov committed May 30, 2006
1 parent 0e05105 commit 8953ce6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7363cfc8666692a5263c646e68e54900b536cd7e
refs/heads/master: 4f8b05efec7a56221c6d1b0e20bcf19671017065
6 changes: 6 additions & 0 deletions trunk/drivers/input/mouse/logips2pp.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define PS2PP_KIND_WHEEL 1
#define PS2PP_KIND_MX 2
#define PS2PP_KIND_TP3 3
#define PS2PP_KIND_TRACKMAN 4

/* Logitech mouse features */
#define PS2PP_WHEEL 0x01
Expand Down Expand Up @@ -223,6 +224,7 @@ static struct ps2pp_info *get_model_info(unsigned char model)
{ 73, 0, PS2PP_SIDE_BTN },
{ 75, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 76, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 79, PS2PP_KIND_TRACKMAN, PS2PP_WHEEL }, /* TrackMan with wheel */
{ 80, PS2PP_KIND_WHEEL, PS2PP_SIDE_BTN | PS2PP_WHEEL },
{ 81, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 83, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
Expand Down Expand Up @@ -298,6 +300,10 @@ static void ps2pp_set_model_properties(struct psmouse *psmouse, struct ps2pp_inf
psmouse->name = "TouchPad 3";
break;

case PS2PP_KIND_TRACKMAN:
psmouse->name = "TrackMan";
break;

default:
/*
* Set name to "Mouse" only when using PS2++,
Expand Down

0 comments on commit 8953ce6

Please sign in to comment.