Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4f8b05ef
Commit
4f8b05ef
authored
May 29, 2006
by
Zbigniew Luszpinski
Committed by
Dmitry Torokhov
May 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: psmouse - add detection of Logitech TrackMan Wheel trackball
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
7363cfc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/input/mouse/logips2pp.c
drivers/input/mouse/logips2pp.c
+6
-0
No files found.
drivers/input/mouse/logips2pp.c
View file @
4f8b05ef
...
...
@@ -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
...
...
@@ -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
},
...
...
@@ -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++,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment