From 3b32b7a05d935dc75321a5f7bfab6aad19d07fff Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 6 Nov 2004 01:03:01 +0000 Subject: mice and joysticks work under MacOS X now, but there is much work left to be done in terms of translating HID Manager to Linux Input events. svn path=/trunk/externals/hcs/hid/; revision=2220 --- hid.h | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'hid.h') diff --git a/hid.h b/hid.h index 9637830..a696f1d 100644 --- a/hid.h +++ b/hid.h @@ -11,7 +11,7 @@ */ #include "input_arrays.h" -static char *version = "$Revision: 1.5 $"; +static char *version = "$Revision: 1.6 $"; /*------------------------------------------------------------------------------ * CLASS DEF @@ -29,9 +29,6 @@ typedef struct _hid t_int x_started; t_int x_delay; long x_locID; -/* these two are probably unnecessary */ - long x_vendorID; - long x_productID; } t_hid; @@ -39,7 +36,7 @@ typedef struct _hid * GLOBALS */ -/* what are these for again? */ +/* TODO: what are these for again? */ char *deviceList[64]; char *typeList[256]; char *codeList[256]; @@ -54,27 +51,4 @@ t_int hid_close_device(t_hid *x); t_int hid_devicelist_refresh(t_hid* x); t_int hid_output_events(t_hid *x) ; - - - - -#ifdef __APPLE__ -void releaseHIDDevices(void); -int prHIDBuildElementList(void); -int prHIDBuildDeviceList(void); -int prHIDGetValue(void); -void PushQueueEvents_RawValue(void); -void PushQueueEvents_CalibratedValue(void); -int prHIDReleaseDeviceList(void); -//int prHIDRunEventLoop(void); -int prHIDQueueDevice(void); -int prHIDQueueElement(void); -int prHIDDequeueElement(void); -int prHIDDequeueDevice(void); -//int prHIDStopEventLoop(void); -#endif /* #ifdef __APPLE__ */ - - - - #endif /* #ifndef _HID_H */ -- cgit v1.2.1