Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpio_tilt.h
Go to the documentation of this file.
1 #ifndef _INPUT_GPIO_TILT_H
2 #define _INPUT_GPIO_TILT_H
3 
13  int axis;
14  int min;
15  int max;
16  int fuzz;
17  int flat;
18 };
19 
34  int gpios;
35  int *axes;
36 };
37 
57  struct gpio *gpios;
58  int nr_gpios;
59 
61  int nr_axes;
62 
64  int nr_states;
65 
67 
68  unsigned int poll_interval;
69  int (*enable)(struct device *dev);
70  void (*disable)(struct device *dev);
71 };
72 
73 #endif