1STRUCT INPUT_HANDLE(9) Input Subsystem STRUCT INPUT_HANDLE(9)
2
3
4
6 struct_input_handle - links input device with an input handler
7
9 struct input_handle {
10 void * private;
11 int open;
12 const char * name;
13 struct input_dev * dev;
14 struct input_handler * handler;
15 struct list_head d_node;
16 struct list_head h_node;
17 };
18
20 private
21 handler-specific data
22
23 open
24 counter showing whether the handle is ´open´, i.e. should deliver
25 events from its device
26
27 name
28 name given to the handle by handler that created it
29
30 dev
31 input device the handle is attached to
32
33 handler
34 handler that works with the device through this handle
35
36 d_node
37 used to put the handle on device´s list of attached handles
38
39 h_node
40 used to put the handle on handler´s list of handles from which it
41 gets events
42
44Kernel Hackers Manual 2.6. June 2019 STRUCT INPUT_HANDLE(9)