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

Re: [pygame] device events?



On Tue, 23 Sep 2003, Michael wrote:

>Is there anything like events for devices in PyGame? Something like
>events to let your program know when the cd/dvd drive has been opened or
>closed. Is there any other common Pygame method to watch for disc
>changes? If not, would there be any chance of getting that added
>sometime in the near future? Thanks.

I'd say it's up to you to talk nicely to your OS using some platform
specific methods. It has to also work under Linux, OS X and even Windows,
so it's not trivial.

-- 
          "Yes, bugger all that." said Nanny. "Let's curse somebody."
                                            -- Terry Pratchett, Wyrd Sisters