This commit is contained in:
dborth 2012-03-18 17:39:02 +00:00
parent 17880749e0
commit 14f4cd2cc0

View File

@ -383,7 +383,7 @@ static void decodepad (int chan)
{
int i, offset;
double angle;
static const double THRES = cos(67.5);
static const double THRES = 0.38268343236508984; // cos(67.5)
s8 pad_x = userInput[chan].pad.stickX;
s8 pad_y = userInput[chan].pad.stickY;