Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
206f5f2f SA |
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 | /* | |
206f5f2f SA |
10 | */ |
11 | ||
12 | #include <linux/hid.h> | |
13 | #include <linux/types.h> | |
14 | ||
8211e460 SA |
15 | #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int) |
16 | ||
17 | #ifdef __KERNEL__ | |
18 | ||
19 | int roccat_connect(struct class *klass, struct hid_device *hid, | |
20 | int report_size); | |
206f5f2f | 21 | void roccat_disconnect(int minor); |
8211e460 SA |
22 | int roccat_report_event(int minor, u8 const *data); |
23 | ||
24 | #endif | |
206f5f2f SA |
25 | |
26 | #endif |