From 4c931544631a8968cd44030940cbae071bed0e61 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 20 May 2005 20:44:37 +0000 Subject: created header so that [linuxhid] can share code svn path=/trunk/externals/hcs/hid/; revision=3044 --- hid_linux.c | 1 + hid_linux.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 hid_linux.h diff --git a/hid_linux.c b/hid_linux.c index aa22425..92b589c 100644 --- a/hid_linux.c +++ b/hid_linux.c @@ -1,3 +1,4 @@ +/* this code only works for Linux kernels */ #ifdef __linux__ diff --git a/hid_linux.h b/hid_linux.h new file mode 100644 index 0000000..a5d978e --- /dev/null +++ b/hid_linux.h @@ -0,0 +1,14 @@ +#ifndef _HID_LINUX_H +#define _HID_LINUX_H + + +/* + * these are exported so they can be used in the implementation of [linuxhid] + */ +void hid_print(t_hid* x); +t_int hid_open_device(t_hid *x, t_int device_number); +t_int hid_close_device(t_hid *x); +t_int hid_build_device_list(t_hid *x); + + +#endif /* ! _HID_LINUX_H */ -- cgit v1.2.1