diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-10-23 03:40:39 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-10-23 03:40:39 +0000 |
commit | a31c391dc384912d8eb511feb62a12aae0ce7005 (patch) | |
tree | 8323dbe6985690233d2642aea4682d573bdb9e6f /hid.h | |
parent | 9554c20806f8da1482790543f2ec5a3c91b363d0 (diff) |
got everything running under GNU/Linux again, time to switch back to MacOS X
svn path=/trunk/externals/hcs/hid/; revision=2144
Diffstat (limited to 'hid.h')
-rw-r--r-- | hid.h | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -5,7 +5,7 @@ #include "hid.h" -static char *version = "$Revision: 1.2 $"; +static char *version = "$Revision: 1.3 $"; /*------------------------------------------------------------------------------ * CLASS DEF @@ -28,19 +28,33 @@ typedef struct _hid /*------------------------------------------------------------------------------ - * FUNCTION PROTOTYPES FOR APPLE HID MANAGER + * GLOBALS */ + +char *deviceList[64]; +char *typeList[256]; +char *codeList[256]; + +/*------------------------------------------------------------------------------ + * FUNCTION PROTOTYPES FOR DIFFERENT PLATFORMS + */ + +#ifdef __linux__ +void releaseDevices(void); +void buildDeviceList(void); +void buildTypeList(void); + +#endif + + #ifdef __APPLE__ -void releaseHIDDevices (void); +void releaseHIDDevices(void); int prHIDBuildElementList(void); int prHIDBuildDeviceList(void); int prHIDGetValue(void); void PushQueueEvents_RawValue(void); void PushQueueEvents_CalibratedValue(void); -//static pascal void IdleTimer(EventLoopTimerRef inTimer, void* userData); int prHIDReleaseDeviceList(void); -//static EventLoopTimerUPP GetTimerUPP(void); -//void callback(void * target, IOReturn result, void * refcon, void * sender); int prHIDRunEventLoop(void); int prHIDQueueDevice(void); int prHIDQueueElement(void); |