John Tsiombikas
35c2891f5e
moved source code under src/
2022-03-25 18:50:29 +02:00
John Tsiombikas
1d5bb47e68
allow sending empty strings
2022-03-25 12:18:46 +02:00
John Tsiombikas
0d42288b4e
fixed comment about the return value of spnav_dev_name
2022-03-25 12:09:50 +02:00
John Tsiombikas
b1cf3f7bad
- fixed makefile, the new proto.o file was missing from the objects list
...
- make sure all global symbols have spnav_ prefixes to avoid namespace
pollution.
2022-03-24 17:53:20 +02:00
John Tsiombikas
2c0bee29ce
converted spnav string queries to use the improved version of the
...
protocol for transmitting strings
2022-03-23 22:15:38 +02:00
John Tsiombikas
f04eef2d15
- made the protocol packet explicitly 8xint32_t instead of 8xint
2022-03-23 11:34:56 +02:00
John Tsiombikas
75679b07f4
implemented spnav_cfg_set_serial/spnav_cfg_get_serial
2022-03-23 03:20:12 +02:00
John Tsiombikas
0ce9d83361
fixed incorrect event decoding in the AF_UNIX protocol in the last commit
2022-03-22 14:46:00 +02:00
John Tsiombikas
39de17356a
added cfg_swapyz support
2022-03-22 11:46:45 +02:00
John Tsiombikas
75aea89e55
- added client event type selection (evmask)
...
- added new types of events (dev/cfg) for proto v1
2022-03-21 08:53:15 +02:00
John Tsiombikas
97b2deda3a
added spnav_cfg_reset, spnav_cfg_restore, and spnav_cfg_save.
2022-03-20 21:55:23 +02:00
John Tsiombikas
1cb5c2c80e
config: deadzone index corresponds to device axis
2022-03-20 20:07:05 +02:00
John Tsiombikas
d1e450b783
Merge branch 'master' of github.com:FreeSpacenav/libspnav
2022-03-16 16:22:03 +02:00
John Tsiombikas
9e6fa203ac
device type enumeration and queries
2022-03-16 16:21:46 +02:00
John Tsiombikas
7bfd4dc94c
Added pkgconfig file. Closes github feature request #14
2022-03-16 06:19:39 +02:00
John Tsiombikas
6c7621ed42
missing cfg entry points and set led bugfix.
2022-03-01 01:48:56 +02:00
John Tsiombikas
f9a31e011e
bump the ABI minor since we're adding all these new entry points
2022-02-13 22:41:13 +02:00
John Tsiombikas
da9c052146
more protocol v1 additions
2022-02-13 02:33:25 +02:00
John Tsiombikas
d273b5d917
more extended API entry points
2022-02-12 19:15:36 +02:00
John Tsiombikas
bab9f676b9
request should fail if protocol is < 1
2022-02-12 17:07:22 +02:00
John Tsiombikas
c4b098a02c
libspnav protocol v1 partial support and extended API
2022-02-12 16:49:26 +02:00
John Tsiombikas
22f354a083
Merge branch 'master' of github.com:FreeSpacenav/libspnav
2022-02-06 14:50:57 +02:00
John Tsiombikas
6d8eca4e95
updated copyright statment in README
2022-02-06 14:48:51 +02:00
John Tsiombikas
0d33c4f7ac
allow AF_UNIX socket path to be overriden by an environment variable, or
...
by a configuration file option, falls back silently to the default if
neither is present or connection fails.
2022-02-06 14:46:47 +02:00
John Tsiombikas
55d975c624
added example binaries to .gitignore
2022-02-06 13:53:15 +02:00
John Tsiombikas
1d1afb513a
Merge pull request #12 from luzpaz/typos
...
Fix a couple of misc. typos
2022-02-06 05:01:07 +02:00
luz paz
e7ecd1b703
Fix a couple of misc. typos
...
Found via `codespell -q 3 -L connexion`
2022-02-05 10:25:11 -05:00
John Tsiombikas
79ad169d8a
use relative symlinks in the libspnav install target
...
(sourceforge patch #8 ).
2020-02-25 13:39:34 +02:00
John Tsiombikas
844338bd69
dropped unnecessary "failed to connect" error message. (sourceforge
...
feature request #8 )
2020-02-21 18:19:56 +02:00
John Tsiombikas
20961617ee
added generated makefile to .gitignore
2018-08-23 05:26:22 +03:00
John Tsiombikas
95a23fcbf9
added .gitignore
2018-08-21 09:46:30 +03:00
John Tsiombikas
4da778662e
removed redundant information from the license file
2018-08-21 08:50:24 +03:00
John Tsiombikas
8ff8e254ab
updated the readme and moved the license in a separate file
2018-08-21 06:43:35 +03:00
John Tsiombikas
9f49e62cf5
removed generated file spnav_config.h from the repository (bug #8 )
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@185 ef983eb1-d774-4af8-acfd-baaf7b16a646
2015-01-09 11:26:55 +00:00
John Tsiombikas
c2bcbaa6ae
so_major and so_minor variables where missing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@178 ef983eb1-d774-4af8-acfd-baaf7b16a646
2014-08-18 01:35:44 +00:00
John Tsiombikas
872c7bd758
make libspnav compile in macosx
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@163 ef983eb1-d774-4af8-acfd-baaf7b16a646
2013-07-03 04:13:58 +00:00
John Tsiombikas
fd6b658308
forgot a close call
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@148 ef983eb1-d774-4af8-acfd-baaf7b16a646
2012-09-04 02:18:04 +00:00
John Tsiombikas
43582acff0
fixed a bug in libspnav which made it impossible to close and reopen the
...
connection to spacenavd. Reported by Andreas Hermann.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@147 ef983eb1-d774-4af8-acfd-baaf7b16a646
2012-07-04 13:11:20 +00:00
John Tsiombikas
e872ed667a
Applied Anthoine Bourge's patch (with slight modifications), adding DESTDIR to the install target of the libspnav makefile, and did the equivalent for uninstall as well.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@131 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-11-26 02:49:50 +00:00
John Tsiombikas
6e49658297
added the ability to pass user-defined CFLAGS/LDFLAGS from configure to the makefile
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@130 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-11-26 02:36:43 +00:00
John Tsiombikas
855e16e9f5
added /usr/local/include and /usr/local/lib to the paths for the example programs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@122 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-10-05 02:20:48 +00:00
John Tsiombikas
92046b8b67
added library symlinks when installing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@121 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-10-05 02:17:19 +00:00
John Tsiombikas
95f4a2a5bc
fixed a mistake in the libspnav makefile. it wouldn't create $(PREFIX)/lib and $(PREFIX)/include directories on install
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@118 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-08-02 14:38:08 +00:00
John Tsiombikas
629d992df5
Fixed memory leak in spnav_remove_events. Bug: 2844481
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@117 ef983eb1-d774-4af8-acfd-baaf7b16a646
2011-06-06 13:01:50 +00:00
John Tsiombikas
566fd3485a
fixed a bug in the cube example where zero rotational values would destroy the rotation quaternion making the cube disappear
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@113 ef983eb1-d774-4af8-acfd-baaf7b16a646
2010-12-06 08:34:13 +00:00
John Tsiombikas
9d76c6d615
- fixed the stupid XAUTHORITY issue in spacenavd
...
- random whitespace fixes in libspnav
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@107 ef983eb1-d774-4af8-acfd-baaf7b16a646
2010-07-27 04:46:14 +00:00
John Tsiombikas
8e138bc2b0
Fixed a typo in the magellan compatibility wrapper which obviously broke compatibility :)
...
Thanks to Jon Scholz for pointing it out.
(also some whitespace fixes)
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@101 ef983eb1-d774-4af8-acfd-baaf7b16a646
2010-03-27 23:24:27 +00:00
John Tsiombikas
9219db9556
- 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/libspnav@95 ef983eb1-d774-4af8-acfd-baaf7b16a646
2010-01-26 01:32:08 +00:00
John Tsiombikas
ce511152e3
Fixed a typo which in the magellan wrapper.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@93 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-10-01 11:41:35 +00:00
John Tsiombikas
def698a612
- it seems better to place libs by default in $PREFIX/lib instead of
...
$PREFIX/lib64 on amd64 systems. /usr/local/lib64 doesn't exist here. Changed
the configure script to do that
- fixed a bug, when read_event reads 0 bytes from the socket, that's not a valid
event, and it should return 0.
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/libspnav@84 ef983eb1-d774-4af8-acfd-baaf7b16a646
2009-07-20 22:17:15 +00:00