struct_input_handle

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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