From c53b9e25c9fd4ee00c648a70a341959a1a018d50 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 10 Jun 2005 03:43:43 +0000 Subject: 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 --- HID Utilities Source/HID_Utilities.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'HID Utilities Source/HID_Utilities.c') diff --git a/HID Utilities Source/HID_Utilities.c b/HID Utilities Source/HID_Utilities.c index f1fdbc4..b7b22c5 100755 --- a/HID Utilities Source/HID_Utilities.c +++ b/HID Utilities Source/HID_Utilities.c @@ -99,7 +99,7 @@ static void hid_GetElementInfo (CFTypeRef refElement, pRecElement pElement) else pElement->min = 0; - pElement->calMax = pElement->min; +// pElement->calMax = pElement->min; pElement->userMin = kDefaultUserMin; refType = CFDictionaryGetValue (refElement, CFSTR(kIOHIDElementMaxKey)); @@ -108,7 +108,7 @@ static void hid_GetElementInfo (CFTypeRef refElement, pRecElement pElement) else pElement->max = 0; - pElement->calMin = pElement->max; +// pElement->calMin = pElement->max; pElement->userMax = kDefaultUserMax; refType = CFDictionaryGetValue (refElement, CFSTR(kIOHIDElementScaledMinKey)); @@ -1853,7 +1853,7 @@ void HIDGetUsageName (const long valueUsagePage, const long valueUsage, char * c // --------------------------------- // returns calibrated value given raw value passed in // calibrated value is equal to min and max values returned by HIDGetElementValue since device list built scaled to element reported min and max values - +/* SInt32 HIDCalibrateValue (SInt32 value, pRecElement pElement) { if (NULL != pElement) @@ -1868,7 +1868,7 @@ SInt32 HIDCalibrateValue (SInt32 value, pRecElement pElement) else return 0; // bad element passed in } - +*/ // --------------------------------- // returns scaled value given raw value passed in // scaled value is equal to current value assumed to be in the range of element reported min and max values scaled to user min and max scaled values -- cgit v1.2.1