Wykres commitów

10 Commity (c17defa830ef811fa5ba4c9b447fb03bc8b59720)

Autor SHA1 Wiadomość Data
John Tsiombikas 01340da0f8 added example config file
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@110 ef983eb1-d774-4af8-acfd-baaf7b16a646
2010-08-01 00:36:37 +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 19d6532630 actually make that spacenavd 0.3.1
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@69 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-01-30 03:01:59 +00:00
John Tsiombikas 25f330e6fa preparing for spacenavd 0.4
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@66 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-01-30 02:59:39 +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
John Tsiombikas 4aff43b6da - added a script to setup init ... scripts.
- now the daemon writes a file on /tmp with its pid.
- added axis inversions as a config option.
- wrote installation and usage instractions in the README file.
- renamed spnavd_x11 to spnavd_ctl and modified it a bit in an effort to
  expand its functionality in the future.
- modified the HUP signal usage to reread config files without
  restarting the daemon. that works fine with the new interactive config tool.


git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@20 ef983eb1-d774-4af8-acfd-baaf7b16a646
2008-04-07 08:31:27 +00:00
John Tsiombikas fede71cd94 minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@9 ef983eb1-d774-4af8-acfd-baaf7b16a646
2007-11-08 00:40:33 +00:00
John Tsiombikas 6ae8785b9c initial import of the daemon
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@1 ef983eb1-d774-4af8-acfd-baaf7b16a646
2007-07-02 22:03:28 +00:00