Open aconstlink opened 6 months ago
It time to tackle linux input via evdev. There are planty of resources. Especially the freedesktop and kenel resources are very helpful.
https://docs.kernel.org/input/index.html
https://www.freedesktop.org/software/libevdev/doc/0.6/
https://gitlab.freedesktop.org/libevdev/libevdev/blob/master/tools/libevdev-events.c
At the moment, mouse and keyboard are working through XLib. But maybe for the joystick api, evdev could be used.
It time to tackle linux input via evdev. There are planty of resources. Especially the freedesktop and kenel resources are very helpful.
https://docs.kernel.org/input/index.html
https://www.freedesktop.org/software/libevdev/doc/0.6/
https://gitlab.freedesktop.org/libevdev/libevdev/blob/master/tools/libevdev-events.c