Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9 authored by Linus Torvalds on 16 October 2017, 01:01:12 UTC
Linux 4.14-rc5
Tip revision: 33d930e
hid-roccat.h
#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>

#define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)

#ifdef __KERNEL__

int roccat_connect(struct class *klass, struct hid_device *hid,
		int report_size);
void roccat_disconnect(int minor);
int roccat_report_event(int minor, u8 const *data);

#endif

#endif
back to top