1INPUT_EVENT(9)                  Input Subsystem                 INPUT_EVENT(9)
2
3
4

NAME

6       input_event - report new input event
7

SYNOPSIS

9       void input_event(struct input_dev * dev, unsigned int type,
10                        unsigned int code, int value);
11

ARGUMENTS

13       dev
14           device that generated the event
15
16       type
17           type of the event
18
19       code
20           event code
21
22       value
23           value of the event
24

DESCRIPTION

26       This function should be used by drivers implementing various input
27       devices to report input events. See also input_inject_event.
28

NOTE

30       input_event may be safely used right after input device was allocated
31       with input_allocate_device, even before it is registered with
32       input_register_device, but the event will not reach any of the input
33       handlers. Such early invocation of input_event may be used to 'seed'
34       initial state of a switch or initial position of absolute axis, etc.
35
37Kernel Hackers Manual 2.6.       November 2011                  INPUT_EVENT(9)
Impressum