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
d182c10c
Commit
d182c10c
authored
Jan 30, 2008
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: mousedev - use BIT_MASK instead of BIT
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
e2c75391
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/input/mousedev.c
drivers/input/mousedev.c
+1
-1
No files found.
drivers/input/mousedev.c
View file @
d182c10c
...
...
@@ -1032,7 +1032,7 @@ static const struct input_device_id mousedev_ids[] = {
.
flags
=
INPUT_DEVICE_ID_MATCH_EVBIT
|
INPUT_DEVICE_ID_MATCH_KEYBIT
|
INPUT_DEVICE_ID_MATCH_ABSBIT
,
.
evbit
=
{
BIT
(
EV_KEY
)
|
BIT
(
EV_ABS
)
|
BIT
(
EV_SYN
)
},
.
evbit
=
{
BIT
_MASK
(
EV_KEY
)
|
BIT_MASK
(
EV_ABS
)
},
.
keybit
=
{
[
BIT_WORD
(
BTN_LEFT
)]
=
BIT_MASK
(
BTN_LEFT
)
},
.
absbit
=
{
BIT_MASK
(
ABS_X
)
|
BIT_MASK
(
ABS_Y
)
},
},
/* Mouse-like device with absolute X and Y but ordinary
...
...
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