Wykres commitów

91 Commity (master)

Autor SHA1 Wiadomość Data
Marco De Donno 907c96b164 Add missing math library as LDFLAG 2023-08-15 01:40:03 +03:00
John Tsiombikas 51c220aabe added missing requests for the repeat interval 2023-07-17 17:03:34 +03:00
John Tsiombikas 130cbe710a fixed: using math functions in util, but failed to link libm.
The new utility functions added to libspnav 1.x use trigonometric and
sqrt functions from the math library, but linking to libm was previously
omitted from the makefile.

Closes bug report #20.
2023-06-06 21:55:46 +03:00
John Tsiombikas f0a7af9587 fixed spnav_sensitivity proto1 was sending garbage 2023-04-04 18:01:22 +03:00
John Tsiombikas 505a460061 fly example: minor comment fix 2023-04-04 07:01:02 +03:00
John Tsiombikas 7f09735b28 fix IRIX build 2023-04-02 05:12:36 +03:00
Steffen Möller 6c6c6a0f99 Makefile.in: cleandist -> distclean 2022-08-22 04:03:08 +03:00
John Tsiombikas 1716ccf15f change the send_string function, to accept null pointers and send them
as empty strings.
2022-04-26 17:19:43 +03:00
chausner 92481ccbe6 Fix path in configure 2022-04-17 02:30:21 +03:00
John Tsiombikas 12cff951bb fix no-x11 build: some new functions were erroneously declared inside
the USE_X11 conditional block.
2022-04-02 01:17:41 +03:00
John Tsiombikas 9e7d2e860c preferentially include local spnav_config.h in spnav.h 2022-04-01 06:04:40 +03:00
John Tsiombikas f7b659c5cf silence spurious error message from configure when building outside the
git repo
2022-04-01 05:56:30 +03:00
John Tsiombikas c280310bbf changed the USE_X11 macro to SPNAV_USE_X11 2022-04-01 05:54:47 +03:00
John Tsiombikas f0af601c29 Makefile: make CC and AR assignments ?= 2022-04-01 05:49:15 +03:00
John Tsiombikas 3b0e85fecf minor formatting fix in readme 2022-04-01 02:36:10 +03:00
John Tsiombikas 7a6371ee41 updated readme, added documentation links 2022-04-01 02:34:38 +03:00
John Tsiombikas 6693918c92 documentation 2022-04-01 01:10:51 +03:00
John Tsiombikas c006320d78 much nicer fly example 2022-04-01 00:16:57 +03:00
John Tsiombikas 789513c09a adding new example to show off how to manipulate the view to fly around
a scene with the new utility functions, and also to show how to
integrate libspnav input into a select loop.
2022-03-31 22:41:18 +03:00
John Tsiombikas eb33c618bf updated the cube example to use the new utility functions 2022-03-31 22:39:55 +03:00
John Tsiombikas 410e02c458 added utility functions for accumulating motion events into posrot
structures, which include a position vector and orientation quaternion,
and then extracting a matrix from that, either for object manipulation
(model matrix), or for view/camera manipulation (view matrix).
2022-03-31 22:37:21 +03:00
John Tsiombikas bdb147e0fb new raw axis/button events 2022-03-26 15:07:01 +02:00
John Tsiombikas 0aeff0cc0a forgot to implement spnav_evmask 2022-03-26 14:05:35 +02:00
John Tsiombikas 357d5e08e6 always flush input before sending a new request to avoid de-syncs 2022-03-26 13:29:08 +02:00
John Tsiombikas d85e24d5f4 started writing a manual 2022-03-25 19:29:28 +02:00
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