diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-06-10 03:43:43 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-06-10 03:43:43 +0000 |
commit | c53b9e25c9fd4ee00c648a70a341959a1a018d50 (patch) | |
tree | 74b53357e3ec1e77b0d2945ee79bc56e38a32b8d /HID Utilities Source/HID_Utilities.c | |
parent | fc0ab5a8127cffc9659b1eba88a23748a4513ae1 (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_Utilities.c')
-rwxr-xr-x | HID Utilities Source/HID_Utilities.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |