Wykres commitów

20 Commity (8355311364cd883440c3fd5a9904689725bc4a84)

Autor SHA1 Wiadomość Data
John Tsiombikas 6aaf85f598 - fixed bug in AF_UNIX protocol request handling (both versions):
spacenavd would enter an infinite loop if at the time when a client
  disconnected, errno happened to be EINTR.
- allow axis mappings to be -1, to unmap a device axis.
2022-03-22 16:35:55 +02:00
John Tsiombikas 83b6124188 - take CC environment variable into account when building
- use cp and mkdir in the install rule instead of using the install
   utility
2022-01-28 19:34:43 +02:00
John Tsiombikas 486645527f merged the new serial device code, and deleted libsball and the old
inactive magellan code.
2020-11-10 01:01:25 +02:00
John Tsiombikas 26c840da63 build: improved the dependency genration method 2020-11-07 07:08:40 +02:00
John Tsiombikas 081182f167 GCC 10 changes the default from -fcommon to -fno-common, so we need to
set it explicitly now. Closes github bug #17.
2020-02-01 01:20:27 +02:00
John Tsiombikas 6085db63f5 Applied Wiedemann's patch (sf#6) to link object files in alphabetical order
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@193 ef983eb1-d774-4af8-acfd-baaf7b16a646
2017-05-27 06:50:36 +00:00
John Tsiombikas 42604a51ba - removed unnecessary devjs handler. Joysticks can be used as regular HID devices
- fixed axis range mapping for various HID devices
- fixed device detection which would pick up any logitech device instead of just 3Dconnexion ones


git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@158 ef983eb1-d774-4af8-acfd-baaf7b16a646
2013-06-26 00:12:28 +00:00
John Tsiombikas d3b2f25748 started merging the serial magellan code
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@149 ef983eb1-d774-4af8-acfd-baaf7b16a646
2012-10-27 18:50:11 +00:00
John Tsiombikas e6b41b7666 starting preliminary work on macosx port
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@146 ef983eb1-d774-4af8-acfd-baaf7b16a646
2012-05-17 03:56:12 +00:00
John Tsiombikas b3204c8c47 Added DESTDIR to the makefile by applying Anthoine Bourgeois' patch. See bug #3512087
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@144 ef983eb1-d774-4af8-acfd-baaf7b16a646
2012-05-10 19:39:47 +00:00
John Tsiombikas 135772a7a5 - added proper build-dependency tracking in the makefile
- added separate sensitivities for each axis



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@124 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-11-05 20:23:24 +00:00
John Tsiombikas cfd07dfdd4 preliminary freebsd support, only serial at the moment.
implemented xdetect_freebsd with kqueue events.



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@120 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-10-05 02:05:18 +00:00
John Tsiombikas 1a25e7c7b2 - added serial device support (merged libsball by John Stone).
- 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
2010-06-07 00:47:02 +00:00
John Tsiombikas f6a10f2786 - fixed configure script to disregard appended "-whatever" substrings in the kernel version.
- 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
2010-01-26 01:32:08 +00:00
John Tsiombikas d5ec2140e5 - added X server auto detection
- 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
2009-07-24 01:04:12 +00:00
John Tsiombikas 1ffb617673 Major source code reorganization. Broken up the spacenavd source into multiple
files, and re-wrote parts of the code.

- The UNIX socket protocol code is now in proto_unix.c
- The old magellan-compatible X11 protocol code is now in proto_x11.c
- Everything linux-specific is now in dev_linux.c. This is meant to be the linux
  implementation of the interface defined in dev.h, so that eventually we may
  add a dev_fbsd.c dev_solaris.c etc.
- The client list manipulation is now abstracted in client.h/.c.
- event.h/event.c deals with processing device events (struct dev_event, new
  struct to avoid using the linux-specific struct input_event outside of
  dev_linux.c) and distribution of spnav_events to the clients.
- spnav.c is left now with calling the various init functions to initialize
  everything, and handling the select() main loop by asking for fds and calling
  handler functions.

New features:
- now we're listening for hotplug events from the NETLINK_KOBJECT_UEVENT socket
  (dev_linux.c) instead of polling every 30s. If we're unable to get hotplug
  events from the kernel, a fallback to the old polling mechanism is provided,
  starting with 1 second waits and gradually doubling it until we reach
  MAX_POLL_TIME (which is 30s).



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@86 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-07-20 22:47:08 +00:00
John Tsiombikas adc5366783 Added a hal fdi policy file, and modified the install target of the makefile to
install it in /etc/hal/fdi/policy.
Thanks to Jaroslaw Bulat for the info regarding fdi files.


git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@79 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-02-02 06:35:56 +00:00
John Tsiombikas 619dfe52a1 - forgot to update the spnavd_ctl script to use the new pid location, this will
require a new release
- removed unnecessary bits from the makefiles



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@75 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-02-02 02:11:10 +00:00
John Tsiombikas 23c52605e3 - removed init script installation from spacenavd's install target, added
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
2008-08-14 02:10:34 +00:00
John Tsiombikas b91b2cdf15 added a configure script
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@30 ef983eb1-d774-4af8-acfd-baaf7b16a646
2008-04-09 07:25:15 +00:00