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