From 3f7356f6f3b1825d53e41abe52aa4f16434ca75d Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sun, 1 Aug 2010 11:11:29 +0000 Subject: 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 --- macosx/plugins/DFInput/macsrc/MappingCell.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'macosx/plugins/DFInput/macsrc/MappingCell.m') 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]; -- cgit v1.2.3