aboutsummaryrefslogtreecommitdiff
path: root/HID Utilities Source/HID_Queue_Utilities.c
diff options
context:
space:
mode:
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