John Tsiombikas
3b2eeb011f
print usage information when encountering invalid arguments, and also
...
accept -help and --help as aliases of -h.
2020-11-16 08:14:26 +02:00
John Tsiombikas
e88d9dbe85
while enqueuing events, the new serial code failed to properly push
...
over the read end of the queue on overflow.
2020-11-16 08:09:38 +02:00
John Tsiombikas
18ae3074a4
Removed references to the log and logfile configuration options from the
...
example spnavrc file. These were changed into the `-l` commandline
argument some time ago. Closes issue #27 .
2020-11-15 02:33:38 +02:00
John Tsiombikas
d330773cae
fixed missing zero terminator when trying to determine if the serial
...
device is a spaceball by looking for the "\r@1" substring.
2020-11-10 19:41:22 +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
11a43b8be5
Merge pull request #23 from counterfactual-regret-minimization/master
...
Point spacenavd.service at new binary location
2020-03-12 15:03:08 +02:00
datadog23
81a32c8752
Point spacenavd.service at new binary location
2020-03-12 10:36:29 +00:00
John Tsiombikas
e3d941caac
Add commandline option to print the version number. Closes sourceforge
...
feature request #5 .
2020-02-16 20:13:50 +02:00
John Tsiombikas
7c271fa265
- evpool_size in sball.c and smag_event.c should be static.
...
- added malloc error checking in alloc_event in sball.c and smag_event.c
2020-02-08 20:18:18 +02:00
John Tsiombikas
0e7ee937e0
dev.c should conditionally include proto_x11.h, only if USE_X11 is
...
defined. Closes github bug #22 .
2020-02-08 05:23:02 +02:00
John Tsiombikas
a9221a74ed
Slightly re-worded the README where it lists the X dependencies, as it
...
was inaccurate and confusing, speaking only of "headers", while the
dependency is on the whole library, not just the headers.
2020-02-01 22:24:00 +02:00
John Tsiombikas
407416d8f3
changed the environment variables used by configure to set add_cflags
...
and add_ldflags to the makefile, to CFLAGS and LDFLAGS, which is much
more conventional and predictable. This only affects the configure
script, the Makefile itself still expects user-specified CFLAGS and
LDFLAGS as add_cflags and add_ldflags, but it's preferable to set those
during configure so it doesn't matter.
2020-02-01 22:21:15 +02:00
John Tsiombikas
ed40a14ad7
Merge pull request #21 from hartwork/document-libxi-dependency
...
readme: Mention optional dependency libXi
2020-02-01 22:13:22 +02:00
John Tsiombikas
3168b1dedf
add a USE_X11 ifdef around the call to drop_xinput in src/dev.c to fix
...
non-X11 build. This should fix github issue #19 .
2020-02-01 22:08:43 +02:00
Sebastian Pipping
d84e336c25
readme: Mention optional dependency libXi
2020-02-01 19:51:17 +01:00
John Tsiombikas
d16ef85b7e
added helper script to prepare releases
2020-02-01 02:00:08 +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
8acf883d97
formatting and whitespace fix for the recent pull request merge
2019-12-22 00:35:48 +02:00
John Tsiombikas
e1de3389a6
Merge pull request #16 which fixes spacenavd trying to grab the cad
...
mouse, when connected over the universal receiver.
2019-12-22 00:30:56 +02:00
tpiekar
5b3a76b84d
Removed unnecessary blacklisting of input devices
2019-12-21 15:02:27 +01:00
Thomas
4d2c0117e9
Merge remote-tracking branch 'upstream/master'
2019-12-21 08:58:33 +01:00
John Tsiombikas
ce42ad9397
cleanup preparing for release
2019-12-18 03:29:36 +02:00
tpiekar
278e608d99
Added special handling for mice connected to the 3Dconnexion universal receiver
2019-08-24 20:08:00 +02:00
John Tsiombikas
a9eccf34e7
SpaceMouse Wireless device id was erroneously put in the black list;
...
moved it to the device list, solving github issue #12
2019-02-24 21:34:21 +02:00
John Tsiombikas
ec8b00aef5
cleanup log an config file paths before using them (make them absolute)
2019-01-28 18:23:17 +02:00
John Tsiombikas
28a39b9219
made log target a commandline option
2019-01-28 15:03:39 +02:00
John Tsiombikas
af9b3a1060
converted all (?) logging to use the logmsg function which can log to
...
any user-configurable log file or to syslog
2019-01-28 05:41:06 +02:00
John Tsiombikas
4da551cfe2
Merge branch 'master' of github.com:FreeSpacenav/spacenavd
2019-01-21 07:55:37 +02:00
John Tsiombikas
b2b391004d
fixed fd leak in proto_unix.c if either bind or listen fail in init_unix.
2019-01-21 07:54:44 +02:00
John Tsiombikas
613d02b34a
Merge pull request #6 from DavidLister/master
...
LSBized the init script
2018-11-09 03:31:01 +02:00
David Lister
812f15e823
LSBized the init script to prevent a possible error by leaving it at default
2018-11-08 16:58:50 -05:00
John Tsiombikas
68bf97e045
- fixed github issue #4 : added a blacklist for USB device matching, and
...
expanded the device list with new USB IDs provided by Herbert Graeber.
2018-10-28 02:42:46 +03:00
John Tsiombikas
9d3d7daaac
fixed bug in proto_unix: the listening socket was initialized to 0
...
instead of -1, and a few conditions tested if it's 0 to determine if it
has been opened, instead of testing it it's not -1.
2018-08-27 11:09:17 +03:00
John Tsiombikas
b3ab0447f8
usb detection: make sure we only add devices if we also found which device file to use.
2018-08-27 10:05:45 +03:00
John Tsiombikas
3066072245
reverting the default LED behaviour to be always on, because it serves
...
as feedback to new users, that the device actually works.
2018-08-23 06:04:22 +03:00
John Tsiombikas
dd0f7d1813
Merge branch 'rhaschke-led-handling'
2018-08-23 05:58:54 +03: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
John Tsiombikas
5f268ed360
LED state enumeration instead of magic numbers, since it's no longer a
...
simple boolean value.
2018-08-23 05:44:50 +03:00
John Tsiombikas
b8e0e84400
Merge branch 'led-handling' of git://github.com/rhaschke/spacenavd into rhaschke-led-handling
2018-08-23 05:34:11 +03:00
Robert Haschke
c890aac70e
improve device information provided by daemon
2018-08-22 22:07:58 +02:00
Robert Haschke
5ef32beada
auto-enable LED with connected clients
2018-08-22 22:07:58 +02:00
John Tsiombikas
6f46571c25
updated readme file
2018-08-22 11:42:58 +03:00
John Tsiombikas
da4744a9a0
updated readme file
2018-08-22 11:40:21 +03:00
John Tsiombikas
04574d0ed0
replaced the svn $rev$ substitution with git describe falling back to git rev-parse HEAD
2018-08-21 05:46:28 +03:00
John Tsiombikas
e34c70fecd
.gitignore
2018-08-21 05:36:46 +03:00
John Tsiombikas
dd91e1fe41
added .gitignore
2018-08-21 05:22:32 +03:00
John Tsiombikas
d91b621192
minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@195 ef983eb1-d774-4af8-acfd-baaf7b16a646
2018-08-20 23:45:19 +00:00
John Tsiombikas
1abbae3018
fixed axis detection, and added detection of the number of buttons for USB devices on linux
...
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@194 ef983eb1-d774-4af8-acfd-baaf7b16a646
2018-08-20 18:13:12 +00: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