aboutsummaryrefslogtreecommitdiff
path: root/HID Utilities Source/HID_Queue_Utilities.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-10 03:43:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-10 03:43:43 +0000
commitc53b9e25c9fd4ee00c648a70a341959a1a018d50 (patch)
tree74b53357e3ec1e77b0d2945ee79bc56e38a32b8d /HID Utilities Source/HID_Queue_Utilities.c
parentfc0ab5a8127cffc9659b1eba88a23748a4513ae1 (diff)
got things compiling with ImmrHIDUtilAddOn; looks like there is a newer version of HID Utilities which Apple hasn't released yet. The ones in FFB must be part of that newer version since they don't match version 3.7
svn path=/trunk/externals/hcs/hid/; revision=3160
Diffstat (limited to 'HID Utilities Source/HID_Queue_Utilities.c')
-rwxr-xr-xHID Utilities Source/HID_Queue_Utilities.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/HID Utilities Source/HID_Queue_Utilities.c b/HID Utilities Source/HID_Queue_Utilities.c
index c4e37a3..70af952 100755
--- a/HID Utilities Source/HID_Queue_Utilities.c
+++ b/HID Utilities Source/HID_Queue_Utilities.c
@@ -509,11 +509,13 @@ try_getElementValue:
HIDREPORTERROR ("HIDGetElementValue - invalid device and/or element.");
// record min and max for auto scale and auto ...
+/*
if (hidEvent.value < pElement->calMin)
pElement->calMin = hidEvent.value;
if (hidEvent.value > pElement->calMax)
pElement->calMax = hidEvent.value;
-
+*/
+
// auto user scale
return hidEvent.value;
}
@@ -547,6 +549,7 @@ long HIDSetElementValue (pRecDevice pDevice, pRecElement pElement,void* pIOHIDEv
// ---------------------------------
// Set a callback to be called when a queue goes from empty to non-empty
+/*
long HIDSetQueueCallback (pRecDevice pDevice, IOHIDCallbackFunction callback)
{
IOReturn result = kIOReturnError; // assume failure (pessimist!)
@@ -582,7 +585,7 @@ long HIDSetQueueCallback (pRecDevice pDevice, IOHIDCallbackFunction callback)
HIDREPORTERROR ("HIDSetQueueCallback - invalid device and/or element.");
return result;
}
-
+*/
#if 1
// ---------------------------------
// Get a report from a device