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
8ad59647
Commit
8ad59647
authored
Sep 06, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix over-eager ioctl number fix. _IOC() does want the sizeof().
parent
f4c7190d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/linux/input.h
include/linux/input.h
+1
-1
No files found.
include/linux/input.h
View file @
8ad59647
...
@@ -73,7 +73,7 @@ struct input_absinfo {
...
@@ -73,7 +73,7 @@ struct input_absinfo {
#define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo)
/* get abs value/limits */
#define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo)
/* get abs value/limits */
#define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo)
/* set abs value/limits */
#define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo)
/* set abs value/limits */
#define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, size
_t
)
/* send a force effect to a force feedback device */
#define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, size
of(struct ff_effect)
)
/* send a force effect to a force feedback device */
#define EVIOCRMFF _IOW('E', 0x81, int)
/* Erase a force effect */
#define EVIOCRMFF _IOW('E', 0x81, int)
/* Erase a force effect */
#define EVIOCGEFFECTS _IOR('E', 0x84, int)
/* Report number of effects playable at the same time */
#define EVIOCGEFFECTS _IOR('E', 0x84, int)
/* Report number of effects playable at the same time */
...
...
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