Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef __HID_ROCCAT_H
0003 #define __HID_ROCCAT_H
0004 
0005 /*
0006  * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net>
0007  */
0008 
0009 /*
0010  */
0011 
0012 #include <linux/hid.h>
0013 #include <linux/types.h>
0014 
0015 #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
0016 
0017 #ifdef __KERNEL__
0018 
0019 int roccat_connect(struct class *klass, struct hid_device *hid,
0020         int report_size);
0021 void roccat_disconnect(int minor);
0022 int roccat_report_event(int minor, u8 const *data);
0023 
0024 #endif
0025 
0026 #endif