all my input devices for writing. And also swap logging statements, so
that we do qDebug after GetLastError, since qDebug seems to wipe the
last error code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1497 ebee16cc-31ac-478f-84a7-5cbb03baadba