Wykres commitów

4 Commity (c12c505801030bae43a7ad0e28c98ee2289e32b9)

Autor SHA1 Wiadomość Data
John Tsiombikas c12c505801 Fixed a bug introduced with the multi-device support patch. device->close()
would not be called when removing devices any more muldi-device patch was
applied). This would leave LEDs on when shutting down spacenavd.

Also simplified the code in some places



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@156 ef983eb1-d774-4af8-acfd-baaf7b16a646
2013-06-22 17:15:55 +00:00
John Tsiombikas c17defa830 fixed an off-by-one error introduced in the latest commit which broke the main
device detection routine and fell back unto the alternative device detection.



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@155 ef983eb1-d774-4af8-acfd-baaf7b16a646
2013-06-22 15:57:45 +00:00
John Tsiombikas a3721ea87d merged Ralf Morel's patch for multiple device support
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@152 ef983eb1-d774-4af8-acfd-baaf7b16a646
2013-04-04 22:06:50 +00:00
John Tsiombikas 3b5d37fb34 Code cleanup.
- 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
2012-05-08 03:18:17 +00:00