aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
3 stars 0 forks source link

evdev raw input #90

Open aconstlink opened 6 months ago

aconstlink commented 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

aconstlink commented 6 months ago

At the moment, mouse and keyboard are working through XLib. But maybe for the joystick api, evdev could be used.