[EMAIL PROTECTED] wrote:
> I need a function (blocking or non-blocking) that tells me if a key has
> been pressed (even before it has been released etc.). Also, I would of
> course like to know _which_ key has been pressed.
>
> I know that this probably does not exist in the Python library already
> I know that this probably does not exist in the Python library already
> as a platform-independant abstraction (even though it probably could),
> but then I would at least like solutions that works on Windows and on
> Linux.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892
But it
At Tuesday 26/12/2006 10:25, [EMAIL PROTECTED] wrote:
I need a function (blocking or non-blocking) that tells me if a key has
been pressed (even before it has been released etc.). Also, I would of
course like to know _which_ key has been pressed.
On Windows you can listen to the messages WM_KE
[EMAIL PROTECTED] wrote:
> I need a function (blocking or non-blocking) that tells me if a key has
> been pressed (even before it has been released etc.). Also, I would of
> course like to know _which_ key has been pressed.
>
> I know that this probably does not exist in the Python library already
I need a function (blocking or non-blocking) that tells me if a key has
been pressed (even before it has been released etc.). Also, I would of
course like to know _which_ key has been pressed.
I know that this probably does not exist in the Python library already
as a platform-independant abstract