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)
This commit is contained in:
Vojtech Kral 2019-09-30 14:58:51 +02:00
parent 1aa559585c
commit 82fed1790a
8 changed files with 544 additions and 1237 deletions

View file

@ -9,6 +9,8 @@
#include <wx/glcanvas.h>
// WARN: If updating these lists, please also update resources/udev/90-3dconnexion.rules
static const std::vector<int> _3DCONNEXION_VENDORS =
{
0x046d, // LOGITECH = 1133 // Logitech (3Dconnexion is made by Logitech)