Wykres commitów

9 Commity (34adbc57992c456ac1eaf6e50b8cc489c71fd7f9)

Autor SHA1 Wiadomość Data
John Tsiombikas bea696f24f - client event mask (event type selection)
- added unique device ids (unique during spacenavd lifetime)
- send device change events
- added provision for configuration change events
2022-03-21 08:50:36 +02:00
John Tsiombikas 62cb5389c4 fixed protocol v1 handling bugs 2022-02-12 16:47:09 +02:00
John Tsiombikas 7145788c5e started working on the spacenavd protocol v1 2022-02-10 12:58:33 +02:00
John Tsiombikas ddab49ea6c minor formatting fixes old and new, and usage of the LED_AUTO
enumeration in src/client.c
2018-08-23 05:57:40 +03:00
Robert Haschke 5ef32beada auto-enable LED with connected clients 2018-08-22 22:07:58 +02: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 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 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