hid-lg.h 602 B

123456789101112131415161718192021222324252627
  1. #ifndef __HID_LG_H
  2. #define __HID_LG_H
  3. struct lg_drv_data {
  4. unsigned long quirks;
  5. void *device_props; /* Device specific properties */
  6. };
  7. #ifdef CONFIG_LOGITECH_FF
  8. int lgff_init(struct hid_device *hdev);
  9. #else
  10. static inline int lgff_init(struct hid_device *hdev) { return -1; }
  11. #endif
  12. #ifdef CONFIG_LOGIRUMBLEPAD2_FF
  13. int lg2ff_init(struct hid_device *hdev);
  14. #else
  15. static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
  16. #endif
  17. #ifdef CONFIG_LOGIG940_FF
  18. int lg3ff_init(struct hid_device *hdev);
  19. #else
  20. static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
  21. #endif
  22. #endif