hid-roccat.h 688 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __HID_ROCCAT_H
  2. #define __HID_ROCCAT_H
  3. /*
  4. * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net>
  5. */
  6. /*
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the Free
  9. * Software Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. */
  12. #include <linux/hid.h>
  13. #include <linux/types.h>
  14. #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
  15. #ifdef __KERNEL__
  16. int roccat_connect(struct class *klass, struct hid_device *hid,
  17. int report_size);
  18. void roccat_disconnect(int minor);
  19. int roccat_report_event(int minor, u8 const *data);
  20. #endif
  21. #endif