Links input device with an input handler
struct input_handle { void * private; int open; const char * name; struct input_dev * dev; struct input_handler * handler; struct list_head d_node; struct list_head h_node; };
private
handler-specific data
open
counter showing whether the handle is 'open', i.e. should deliver events from its device
name
name given to the handle by handler that created it
dev
input device the handle is attached to
handler
handler that works with the device through this handle
d_node
used to put the handle on device's list of attached handles
h_node
used to put the handle on handler's list of handles from which it gets events