diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-17 16:35:23 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-03-17 16:35:23 +0000 |
| commit | f594c0bd1bc3eb2900c55b78e97eaa1634f25297 (patch) | |
| tree | b783e2dc3020ccc39fba2053c1e49764587e1c08 | |
| parent | d804bef6d8068329aeb7ae57028ca7befd53ac31 (diff) | |
| download | pcsxr-f594c0bd1bc3eb2900c55b78e97eaa1634f25297.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@42528 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | macosx/plugins/HIDInput/src/PlugPAD.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +March 18, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> + + * macosx/plugins/HIDInput/src/PlugPAD.c: Commented out calls to + HIDCalibrateValue(), which caused problem in some cases. + March 17, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> * macosx/plugins/HIDInput/HIDInput.xcodeproj/project.pbxproj: Fixed build diff --git a/macosx/plugins/HIDInput/src/PlugPAD.c b/macosx/plugins/HIDInput/src/PlugPAD.c index e5bfdf4c..1cb87bb8 100644 --- a/macosx/plugins/HIDInput/src/PlugPAD.c +++ b/macosx/plugins/HIDInput/src/PlugPAD.c @@ -146,7 +146,7 @@ long _readPortX(PadDataS *data, int port) { if (keys[i].element->usagePage == kHIDPage_GenericDesktop && keys[i].element->usage >= kHIDUsage_GD_X && keys[i].element->usage <= kHIDUsage_GD_Rz) { /* axis input device */ - value = HIDCalibrateValue(value, keys[i].element); + // value = HIDCalibrateValue(value, keys[i].element); value = HIDScaleValue(value, keys[i].element); if (keys[i].reverse) { if (value < 64) @@ -170,7 +170,7 @@ long _readPortX(PadDataS *data, int port) { if (axes[i].element->usagePage == kHIDPage_GenericDesktop && axes[i].element->usage >= kHIDUsage_GD_X && axes[i].element->usage <= kHIDUsage_GD_Rz) { /* axis input device */ - value = HIDCalibrateValue(value, axes[i].element); + // value = HIDCalibrateValue(value, axes[i].element); value = HIDScaleValue(value, axes[i].element); if (!axes[i].positive) value = 255-value; |
