[Python-Dev] Ready for Python 2.1 ?
Charles G Waldman
Wed, 18 Oct 2000 14:53:09 -0500 (CDT)
Skip Montanaro writes:
> Thanks, Neil S. sent me a patch for that already. I'll try to work it into
> the code. Anyone have any idea how to monitor keystrokes on Windows, Mac or
> other Unix flavors? I suspect I'll just have to bite the bullet and work in
> platform-dependent code for this.
Can't tell you about Windows or Mac, but for Unix I'd read the file
driver/timers.c in the XScreensaver distribution (www.jwz.org). This
code is pretty sophisticated and runs on all the major Unix flavors.