adds a new compile time option for debugging output, brings the timeout for reading junk data back into line between joypad.cpp and layout.cpp, and adds in read exception handling when setupjoydevs is called (previously only set up in the joypad constructor)

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@101 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-08-15 19:36:28 +00:00
committed by virtuoussin13
parent 8363313fd2
commit 30ed817389
3 changed files with 17 additions and 1 deletions

View File

@ -25,5 +25,10 @@
#define NAME "QJoyPad 4.0-pre"
#define MOUSE_OFFSET 400
#ifdef _DEBUG
#define DEBUG(str) printf(str);
#else
#define DEBUG
#endif
#endif