- fixed a couple of annoying warnings in dummy_usb.c
- in spnavd.c I forgot to include string.h
- fixed a typo in xdetect_freebsd.c and made it compile on MacOSX too
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@145 ef983eb1-d774-4af8-acfd-baaf7b16a646
- 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
- added -fno-strict-aliasing to the makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@95 ef983eb1-d774-4af8-acfd-baaf7b16a646
(conditionally compiled). The configure script autodetects whether hotplug
should be enabled by default or not, based on the output of uname. The user
can override that decision with --enable-hotplug and --disable-hotplug.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@92 ef983eb1-d774-4af8-acfd-baaf7b16a646
- added forgotten GPL notices to the new files
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@87 ef983eb1-d774-4af8-acfd-baaf7b16a646
message to the user instead.
Applied Hans Meine's patches:
- allow build dir != source dir
- install into /lib64 if /lib64 exists
(modified that one to use uname -m in the configure script, debian seems to
have a lib64 even on 32bit systems)
- display X11 connection closing in verbose mode, too (not only init)
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@47 ef983eb1-d774-4af8-acfd-baaf7b16a646