Blame view

include/linux/hid-roccat.h 688 Bytes
206f5f2fc   Stefan Achatz   HID: roccat: prop...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #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>
8211e4600   Stefan Achatz   HID: roccat: Add ...
17
18
19
20
21
22
  #define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
  
  #ifdef __KERNEL__
  
  int roccat_connect(struct class *klass, struct hid_device *hid,
  		int report_size);
206f5f2fc   Stefan Achatz   HID: roccat: prop...
23
  void roccat_disconnect(int minor);
8211e4600   Stefan Achatz   HID: roccat: Add ...
24
25
26
  int roccat_report_event(int minor, u8 const *data);
  
  #endif
206f5f2fc   Stefan Achatz   HID: roccat: prop...
27
28
  
  #endif