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
144c0f88
Commit
144c0f88
authored
Sep 03, 2010
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: fix a few typos
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
eb54ddd4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/input/input.c
drivers/input/input.c
+3
-3
include/linux/input.h
include/linux/input.h
+1
-1
No files found.
drivers/input/input.c
View file @
144c0f88
...
...
@@ -171,7 +171,7 @@ static int input_handle_abs_event(struct input_dev *dev,
if
(
code
==
ABS_MT_SLOT
)
{
/*
* "Stage" the event; we'll flush it later, when we
* get act
i
ual touch data.
* get actual touch data.
*/
if
(
*
pval
>=
0
&&
*
pval
<
dev
->
mtsize
)
dev
->
slot
=
*
pval
;
...
...
@@ -188,7 +188,7 @@ static int input_handle_abs_event(struct input_dev *dev,
pold
=
&
mtslot
->
abs
[
code
-
ABS_MT_FIRST
];
}
else
{
/*
* Bypass filtering for multitouch events when
* Bypass filtering for multi
-
touch events when
* not employing slots.
*/
pold
=
NULL
;
...
...
@@ -1601,7 +1601,7 @@ EXPORT_SYMBOL(input_free_device);
*
* This function allocates all necessary memory for MT slot handling in the
* input device, and adds ABS_MT_SLOT to the device capabilities. All slots
* are initially marked as unused
i
by setting ABS_MT_TRACKING_ID to -1.
* are initially marked as unused by setting ABS_MT_TRACKING_ID to -1.
*/
int
input_mt_create_slots
(
struct
input_dev
*
dev
,
unsigned
int
num_slots
)
{
...
...
include/linux/input.h
View file @
144c0f88
...
...
@@ -67,7 +67,7 @@ struct input_absinfo {
#define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len)
/* get physical location */
#define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len)
/* get unique identifier */
#define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len)
/* get global keystate */
#define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len)
/* get global key
state */
#define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len)
/* get all LEDs */
#define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len)
/* get all sounds status */
#define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len)
/* get all switch states */
...
...
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