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

Re: [pygame] Application expects mouse to init



On 3/14/06, İzzet Aykut KOÇAK <izzetaykutkocak@xxxxxxxxx> wrote:
> I have written a simple image viewer for a embedded h/w with pygame. My
> problem is I want my system work without any input device but
> pygame.init() or pygame.display.init() functions expect to find mouse
> attached to system. My experience in pygame/SDL is not enough to find a
> solution for this problem,yet. Could somebody suggest me a solution?

Try setting the environment variable SDL_NOMOUSE=1. This works in the
latest SDL version at least, but I haven't tested it with the current
pygame.

--
Sami Hangaslammi