Relative Content

Tag Archive for linuxkeyboardmousetrackpad

Linux get keyboard mouse trackpad activity

I’m looking for a way to detect keyboard, mouse and trackpad activity on Linux. This will probably be a kernel module. I don’t care about the details of the input just the fact that something happened. I don’t want it to depend on X. From the kernel headers I’ve noticed that there’s a callback method for keyboard input so that doesn’t look like too much of a problem.