2003-07-21 14:24:52

by snoopyzwe

[permalink] [raw]
Subject: problem of keyboard input and mouse movement

I implemented a kernel thread, which runs every 1/5 HZ. My problem is
how to make the kernel thread know whether there is keyboard input or
mouse movement since last time it ran.
thanks