- 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
reason. Applied his changes to support that device.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@100 ef983eb1-d774-4af8-acfd-baaf7b16a646
- Alleviated the need for XSync in xsend_event. Now XFlush suffices.
- Added separate sensitivity options for rotation and translation.
- Added option to swap Y and Z translation axes.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@96 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
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
use it as a mouse. The same was achieved so far by using a HAL fdi policy. I
think we'll better keep both mechanisms.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@83 ef983eb1-d774-4af8-acfd-baaf7b16a646
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
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
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
- changes in the init script to use the pidfile for killing
- changed the spnavcfg program, added functionality to start/stop the X11
magellan interface, and to "ping" the server and see if it's running.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@23 ef983eb1-d774-4af8-acfd-baaf7b16a646
- 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
/proc/bus/input/devices isn't there, or its parsing fails.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@18 ef983eb1-d774-4af8-acfd-baaf7b16a646
"Handler"s in /proc/bus/input/devices for the device.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@17 ef983eb1-d774-4af8-acfd-baaf7b16a646
versions though.
- fixed a crashing bug if the daemon can't connect to the X server on startup.
- added a SIGSEGV handler to try and exit gracefully on segfaults.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@11 ef983eb1-d774-4af8-acfd-baaf7b16a646
- removed the useless exception fds from the select/handle calls
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@10 ef983eb1-d774-4af8-acfd-baaf7b16a646
- Restructured the daemon code, broken up the huge main loop into two functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/spacenavd@5 ef983eb1-d774-4af8-acfd-baaf7b16a646