From 85dfc3ee90c2a611686613d581ccd6fe8468a670 Mon Sep 17 00:00:00 2001 From: John Toman Date: Wed, 2 Sep 2009 22:47:34 +0000 Subject: [PATCH] adds an important debugging message git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@115 c05e91a0-76c8-4ec0-b377-ef19ce7cc080 --- src/layout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout.cpp b/src/layout.cpp index c74628b..78cba4a 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -340,6 +340,7 @@ void LayoutManager::updateJoyDevs() { //for every joystick device in the directory listing... //(note, with devfs, only available devices are listed) for (QStringList::Iterator it = devices.begin(); it != devices.end(); ++it) { + debug_mesg("found a device file, %s\n", qPrintable(devdir + "/" + (*it))); //try opening the device. joydev = open( qPrintable(devdir + "/" + (*it)), O_RDONLY | O_NONBLOCK); //if it worked, then we have a live joystick! Make sure it's properly