Lines 13-24
Link Here
|
13 |
#include <linux/time.h> |
13 |
#include <linux/time.h> |
14 |
#include <linux/list.h> |
14 |
#include <linux/list.h> |
15 |
#include <linux/device.h> |
15 |
#include <linux/device.h> |
16 |
#include <linux/mod_devicetable.h> |
|
|
17 |
#else |
16 |
#else |
18 |
#include <sys/time.h> |
17 |
#include <sys/time.h> |
19 |
#include <sys/ioctl.h> |
18 |
#include <sys/ioctl.h> |
20 |
#include <asm/types.h> |
19 |
#include <asm/types.h> |
21 |
#endif |
20 |
#endif |
|
|
21 |
#include <linux/mod_devicetable.h> |
22 |
|
22 |
|
23 |
/* |
23 |
/* |
24 |
* The event structure itself |
24 |
* The event structure itself |
Lines 41-53
struct input_event {
Link Here
|
41 |
* IOCTLs (0x00 - 0x7f) |
41 |
* IOCTLs (0x00 - 0x7f) |
42 |
*/ |
42 |
*/ |
43 |
|
43 |
|
44 |
struct input_id { |
|
|
45 |
__u16 bustype; |
46 |
__u16 vendor; |
47 |
__u16 product; |
48 |
__u16 version; |
49 |
}; |
50 |
|
51 |
struct input_absinfo { |
44 |
struct input_absinfo { |
52 |
__s32 value; |
45 |
__s32 value; |
53 |
__s32 minimum; |
46 |
__s32 minimum; |
Lines 796-820
struct ff_effect {
Link Here
|
796 |
|
789 |
|
797 |
#define FF_MAX 0x7f |
790 |
#define FF_MAX 0x7f |
798 |
|
791 |
|
799 |
struct input_device_id { |
|
|
800 |
|
801 |
kernel_ulong_t flags; |
802 |
|
803 |
struct input_id id; |
804 |
|
805 |
kernel_ulong_t evbit[EV_MAX/BITS_PER_LONG+1]; |
806 |
kernel_ulong_t keybit[KEY_MAX/BITS_PER_LONG+1]; |
807 |
kernel_ulong_t relbit[REL_MAX/BITS_PER_LONG+1]; |
808 |
kernel_ulong_t absbit[ABS_MAX/BITS_PER_LONG+1]; |
809 |
kernel_ulong_t mscbit[MSC_MAX/BITS_PER_LONG+1]; |
810 |
kernel_ulong_t ledbit[LED_MAX/BITS_PER_LONG+1]; |
811 |
kernel_ulong_t sndbit[SND_MAX/BITS_PER_LONG+1]; |
812 |
kernel_ulong_t ffbit[FF_MAX/BITS_PER_LONG+1]; |
813 |
kernel_ulong_t swbit[SW_MAX/BITS_PER_LONG+1]; |
814 |
|
815 |
kernel_ulong_t driver_info; |
816 |
}; |
817 |
|
818 |
/* |
792 |
/* |
819 |
* Structure for hotplug & device<->driver matching. |
793 |
* Structure for hotplug & device<->driver matching. |
820 |
*/ |
794 |
*/ |