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
Kirill Smelkov
linux
Commits
5554db37
Commit
5554db37
authored
Jan 21, 2004
by
Dmitry Torokhov
Committed by
Vojtech Pavlik
Jan 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Allow Synaptics packet rate to be controlled by the
psmouse_rate= option.
parent
2dc34924
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
drivers/input/mouse/psmouse.h
drivers/input/mouse/psmouse.h
+1
-0
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.c
+3
-1
No files found.
drivers/input/mouse/psmouse.h
View file @
5554db37
...
...
@@ -67,6 +67,7 @@ struct psmouse {
int
psmouse_command
(
struct
psmouse
*
psmouse
,
unsigned
char
*
param
,
int
command
);
extern
int
psmouse_smartscroll
;
extern
unsigned
int
psmouse_rate
;
extern
unsigned
int
psmouse_resetafter
;
#endif
/* _PSMOUSE_H */
drivers/input/mouse/synaptics.c
View file @
5554db37
...
...
@@ -214,7 +214,9 @@ static int synaptics_set_mode(struct psmouse *psmouse, int mode)
{
struct
synaptics_data
*
priv
=
psmouse
->
private
;
mode
|=
SYN_BIT_ABSOLUTE_MODE
|
SYN_BIT_HIGH_RATE
;
mode
|=
SYN_BIT_ABSOLUTE_MODE
;
if
(
psmouse_rate
>=
80
)
mode
|=
SYN_BIT_HIGH_RATE
;
if
(
SYN_ID_MAJOR
(
priv
->
identity
)
>=
4
)
mode
|=
SYN_BIT_DISABLE_GESTURE
;
if
(
SYN_CAP_EXTENDED
(
priv
->
capabilities
))
...
...
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