miscellaneous cleanups before release of 4.1

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@127 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2010-02-03 03:12:13 +00:00
committed by virtuoussin13
parent 6b504e67b2
commit 6e0954ea38
5 changed files with 4 additions and 6 deletions

View File

@ -360,7 +360,7 @@ void Axis::move( bool press ) {
// mouse by the rounded magnitude
sumDist += fdist;
dist = static_cast<int>(rint(sumDist));
sumDist -= dist;
sumDist -= dist;
}
//if not gradient, always go full speed.
else dist = maxSpeed;

View File

@ -10,6 +10,7 @@
#include <QRegExp>
#include <QStringList>
#include "constant.h"
#include "error.h"
//default and arbitrary values for dZone and xZone
#define DZONE 3000

1
src/configure vendored Symbolic link
View File

@ -0,0 +1 @@
config

View File

@ -25,7 +25,7 @@
#define SENSITIVITY_MIN 1e-8F
#define SENSITIVITY_MAX 1e+8F
#define NAME "QJoyPad 4.0"
#define NAME "QJoyPad 4.1"
#define MOUSE_OFFSET 400

View File

@ -258,10 +258,6 @@ void JoyPad::handleJoyEvents(int fd) {
//pass that event on to the joypad!
jsevent(msg);
}
//sleep for a moment. This is just to keep us from throwing all the
//available processer power into madly checking for new events.
//usleep(10000);
}
void JoyPad::releaseWidget() {