palkia has asked for the wisdom of the Perl Monks concerning the following question:

Hi everyone
I'm looking for a way to tell when the cursor moved (for a similar purpose as in screen savers),
but without relaying on non-core modules (conversion to exe limitations).
Your thoughts ?
Thx

Replies are listed 'Best First'.
Re: On-Cursor-Move Event
by zentara (Cardinal) on May 24, 2012 at 21:31 UTC
    For the keypress Term::ReadKey is core. For a mouse movement, you might need to read from /dev/input/mouse itself, and monitor for changes. See mouse specs

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
Re: On-Cursor-Move Event
by Anonymous Monk on May 24, 2012 at 22:09 UTC
    Depends on your target platform. You'll get better help if you fill in the blanks.
      If you're referring to my target operating system,
      it should work for win-xp and (win-2000 or win-7).
      Yes only one (2000 or 7) not sure which (I will know which in a week, but I don't want to wait with the code writing until than).
      Once I know I'll make the "small" change (if required).