hid-roccat.h 484 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #ifndef __HID_ROCCAT_H
  3. #define __HID_ROCCAT_H
  4. /*
  5. * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net>
  6. */
  7. /*
  8. */
  9. #include <linux/hid.h>
  10. #include <linux/types.h>
  11. #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
  12. #ifdef __KERNEL__
  13. int roccat_connect(struct class *klass, struct hid_device *hid,
  14. int report_size);
  15. void roccat_disconnect(int minor);
  16. int roccat_report_event(int minor, u8 const *data);
  17. #endif
  18. #endif