- separated hotplug functionality from device driver for USB devices
- factored out common code to minimize redundancy for different platforms (linux/freebsd)
- created an internal "device" data type to allow handling both USB and serial devices
transparently without conditions everywhere.
Also fixed a minor performance bug. If there is no device plugged in, the repeat interval is ignored.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@139 ef983eb1-d774-4af8-acfd-baaf7b16a646
- fixed a bug where the swap-xy would only affect translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@103 ef983eb1-d774-4af8-acfd-baaf7b16a646