[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] events: checking for permanently keydown



I didn't expect that the repeater is off by default

pygame.key.set_repeat([delay, interval])

so my question is answered, thanks

markus


mbopp wrote:

hi,

do you have any idea on how to check if a key is pressed permantely? otherwise I would have to implement a small algo to check it.

thanks

markus