aconstlink / motor

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

evdev raw input #90

Open aconstlink opened 1 month ago

aconstlink commented 1 month 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 1 month ago

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