Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Welcome to the Monastery
 
PerlMonks  

On-Cursor-Move Event

by palkia (Scribe)
on May 24, 2012 at 21:09 UTC ( #972321=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on On-Cursor-Move Event
Re: On-Cursor-Move Event
by zentara (Archbishop) 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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://972321]
Approved by lidden
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-04-21 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls