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

Re: [pygame] Events and modifiers (Re: collidepoint)



Hi,

That sounds good.  I guess that could be added as an event filter.
I'll look into it.


On 9/4/07, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
> Something that's rather annoying about pygame's event
> handling is that the state of the modifier keys is
> only reported in key events, not mouse events. This
> makes it more awkward than necessary to tell when
> e.g. the user has shift-clicked.
>
> It would be more convenient and less error-prone if
> all event types included the state of the modifiers
> at the time the event occurred -- as most other GUI
> systems do.
>
> --
> Greg
>