now axis and buttons have their joypads as Qt parents, also if the configuration dialog is open but does not have window focus, joypad events are passed along as if the window is not open

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@119 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-11-22 22:06:28 +00:00
committed by virtuoussin13
parent 5bafd943f9
commit bdf4b21162
9 changed files with 23 additions and 8 deletions

View File

@ -7,7 +7,7 @@
((a) < (a_low) ? (a_low) : (a) > (a_high) ? (a_high) : (a))
Axis::Axis( int i ) {
Axis::Axis( int i, QObject *parent ) : QObject(parent) {
index = i;
isOn = false;
isDown = false;