hid-lg.h 649 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __HID_LG_H
  2. #define __HID_LG_H
  3. #ifdef CONFIG_LOGITECH_FF
  4. int lgff_init(struct hid_device *hdev);
  5. #else
  6. static inline int lgff_init(struct hid_device *hdev) { return -1; }
  7. #endif
  8. #ifdef CONFIG_LOGIRUMBLEPAD2_FF
  9. int lg2ff_init(struct hid_device *hdev);
  10. #else
  11. static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
  12. #endif
  13. #ifdef CONFIG_LOGIG940_FF
  14. int lg3ff_init(struct hid_device *hdev);
  15. #else
  16. static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
  17. #endif
  18. #ifdef CONFIG_LOGIWII_FF
  19. int lg4ff_init(struct hid_device *hdev);
  20. #else
  21. static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
  22. #endif
  23. #endif