diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-06 01:03:01 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-06 01:03:01 +0000 |
commit | 3b32b7a05d935dc75321a5f7bfab6aad19d07fff (patch) | |
tree | 70b49d647bf447ffab632894d1a423b5c1f113b2 /hid.h | |
parent | c0cf43d9e8b028a899af16a16e81dfe4729b6c95 (diff) |
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
Diffstat (limited to 'hid.h')
-rw-r--r-- | hid.h | 30 |
1 files changed, 2 insertions, 28 deletions
@@ -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 */ |