Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177074
b: refs/heads/master
c: df2d463
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Dec 12, 2009
1 parent e2e4726 commit 8aaae5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 010c33cc7907239ffc8f49f09ccb3dc6d84a0369
refs/heads/master: df2d4637b0813e47ad12af3eacf6b5292c0fb164
10 changes: 8 additions & 2 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,15 @@ static void input_handle_event(struct input_dev *dev,
* @value: value of the event
*
* This function should be used by drivers implementing various input
* devices. See also input_inject_event().
* devices to report input events. See also input_inject_event().
*
* NOTE: input_event() may be safely used right after input device was
* allocated with input_allocate_device(), even before it is registered
* with input_register_device(), but the event will not reach any of the
* input handlers. Such early invocation of input_event() may be used
* to 'seed' initial state of a switch or initial position of absolute
* axis, etc.
*/

void input_event(struct input_dev *dev,
unsigned int type, unsigned int code, int value)
{
Expand Down

0 comments on commit 8aaae5a

Please sign in to comment.