diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-01 11:11:29 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-01 11:11:29 +0000 |
| commit | 3f7356f6f3b1825d53e41abe52aa4f16434ca75d (patch) | |
| tree | 6748ea78874d8359e472a9894a2321efd5ca06eb /macosx/plugins/DFInput/macsrc/MappingCell.m | |
| parent | 8bca7a2d9797c2b0546895f5e62fc05b38183468 (diff) | |
| download | pcsxr-3f7356f6f3b1825d53e41abe52aa4f16434ca75d.tar.gz | |
dfinput: only accept axis input when the current axis position is off enough from previous or initial position in config dialog box.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@55344 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/MappingCell.m')
| -rw-r--r-- | macosx/plugins/DFInput/macsrc/MappingCell.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/plugins/DFInput/macsrc/MappingCell.m b/macosx/plugins/DFInput/macsrc/MappingCell.m index 812adf42..0fb43bd1 100644 --- a/macosx/plugins/DFInput/macsrc/MappingCell.m +++ b/macosx/plugins/DFInput/macsrc/MappingCell.m @@ -48,6 +48,8 @@ /* delay for a little while to allow user to release the button pressed to activate the element */ [NSThread sleepUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.15]]; + InitAxisPos(whichPad); + /* wait for 10 seconds for user to press a key */ for (i = 0; i < 10; i++) { [NSApp runModalSession:session]; |
