this is just temp until i can talk to JP why added the 6000 in the first place. doesn't make sense to me

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2170 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
daco65 2009-02-09 01:40:25 +00:00
parent f4025a8caa
commit bb4cec5b45
1 changed files with 3 additions and 2 deletions

View File

@ -251,8 +251,9 @@ wxString ConfigBox::GetButtonText(int id, int Page)
bool AvoidValues(int value)
{
// Avoid detecting very small or very big (for triggers) values
if( (value > -0x2000 && value < 0x2000) // Small values
|| (value < -0x6000 && value > 0x6000)) // Big values
// for the record, the only accepted value's were between -6000 & -2000 and between 2000 & 6000
if( (value > -0x2000 && value < 0x2000)) // Small values
//|| (value < -0x6000 || value > 0x6000)) // Big values. might intervene with alot of controllers as they go way above 6000
return true; // Avoid
else
return false; // Keep