← Back to team overview

logame team mailing list archive

Re: Keyboard Problems

 

Hi Ben,

My keyboard will register 3 keys at once, ie: left, up and fire and all
three keypresses are registered by pygame (I get the logging output from
3 keys).  I have also read that keyboards can only handle so many key
presses at one time and it varies from keyboard to keyboard, so I think
we will have to live with it. 

I don't really know how event handling works in pygame, but I also get
what you describe, holding down one key and then tapping another stops
the first key.  It sounds like the keyup event from the tap blocks the
ongoing keydown event, but I am only guessing.  I'll have another look
at event handling tomorrow, when I am less tired :)

Paul




Follow ups

References