STRUCT INPUT_HANDLE
Section: Input Subsystem (9)
Updated: February 2011
Index
Return to Main Contents
NAME
struct_input_handle - links input device with an input handler
SYNOPSIS
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;
};
MEMBERS
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
COPYRIGHT