2010-05-19 16:55:16 +00:00
|
|
|
#ifndef __HID_ROCCAT_H
|
|
|
|
#define __HID_ROCCAT_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
|
|
* Software Foundation; either version 2 of the License, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/hid.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
2011-01-30 12:38:25 +00:00
|
|
|
#define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
|
|
int roccat_connect(struct class *klass, struct hid_device *hid,
|
|
|
|
int report_size);
|
2010-05-19 16:55:16 +00:00
|
|
|
void roccat_disconnect(int minor);
|
2011-01-30 12:38:25 +00:00
|
|
|
int roccat_report_event(int minor, u8 const *data);
|
|
|
|
|
|
|
|
#endif
|
2010-05-19 16:55:16 +00:00
|
|
|
|
|
|
|
#endif
|