hid-lg.h 766 B

12345678910111213141516171819202122232425262728293031
  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_LOGIWHEELS_FF
  19. int lg4ff_init(struct hid_device *hdev);
  20. int lg4ff_deinit(struct hid_device *hdev);
  21. #else
  22. static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
  23. static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; }
  24. #endif
  25. #endif