Commit Graph

10 Commits

Author SHA1 Message Date
bubnikv
ccbf5379ab More detailed logging of hid_init() on unixes to detect why
loading of "libudev.so.1" or "libudev.so.0" failed.
2020-03-12 09:42:25 +01:00
Enrico Turri
1e617ee3b4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-12-13 17:57:17 +01:00
Enrico Turri
06c9d3ad56 Added readme.md file for hidapi 2019-12-13 17:46:35 +01:00
Yuri D'Elia
34b6f7362a Add dependency on -ldl to hidapi (for dlclose) on linux 2019-12-13 15:23:26 +01:00
tamasmeszaros
b2b5df7d43 Remove redundant search path for libudev 2019-11-28 17:12:01 +01:00
bubnikv
3b24b8c378 Linux libudev explicit linking: One more function wrapped. 2019-11-28 11:06:57 +01:00
bubnikv
67827546cf linux specific: Explicit linking of libudev because there are
two versions out there in the wild. libusb0 is still used on
some LTS distros, for example on Centos6.
2019-11-28 10:09:13 +01:00
Vojtech Kral
82fed1790a 3D connexion support on Linux:
- Replace hidapi/linux/hid.c with the hidraw variant (link to udev)
- Add CMakeLists.txt for hidapi, refactor
- Add udev rules file (no installation so far)
2019-09-30 14:59:21 +02:00
Enrico Turri
33bfc925c2 ENABLE_3DCONNEXION_DEVICES -> try a different hid.c for hidapi library on Linux 2019-09-27 15:02:38 +02:00
Enrico Turri
f958cfd2ff ENABLE_3DCONNEXION_DEVICES - 1st installment of support for 3Dconnexion devices
Implemented using hidapi library (https://github.com/libusb/hidapi) and https://github.com/koenieee/CrossplatformSpacemouseDriver/tree/master/SpaceMouseDriver as reference

Unsolved issues:

- When manipulating the SpaceNavigator wxWidgets generates a mouse wheel event that needs to be filtered out

- wxWidgets does not detect devices being connected/disconnected to the pc

- Current state forces a continuous rendering

- Current state misses dependence on camera zoom

- Non intuitive movement limits

- Translation and rotation speed factors are hardcoded

- Number of device buttons hardcoded
2019-09-27 14:52:19 +02:00