]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - drivers/hid/hid-lg4ff.h
4 #ifdef CONFIG_LOGIWHEELS_FF
5 extern int lg4ff_no_autoswitch
; /* From hid-lg.c */
7 int lg4ff_adjust_input_event(struct hid_device
*hid
, struct hid_field
*field
,
8 struct hid_usage
*usage
, s32 value
, struct lg_drv_data
*drv_data
);
9 int lg4ff_raw_event(struct hid_device
*hdev
, struct hid_report
*report
,
10 u8
*rd
, int size
, struct lg_drv_data
*drv_data
);
11 int lg4ff_init(struct hid_device
*hdev
);
12 int lg4ff_deinit(struct hid_device
*hdev
);
14 static inline int lg4ff_adjust_input_event(struct hid_device
*hid
, struct hid_field
*field
,
15 struct hid_usage
*usage
, s32 value
, struct lg_drv_data
*drv_data
) { return 0; }
16 static inline int lg4ff_raw_event(struct hid_device
*hdev
, struct hid_report
*report
,
17 u8
*rd
, int size
, struct lg_drv_data
*drv_data
) { return 0; }
18 static inline int lg4ff_init(struct hid_device
*hdev
) { return -1; }
19 static inline int lg4ff_deinit(struct hid_device
*hdev
) { return -1; }