[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Application expects mouse to init
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Application expects mouse to init
- From: "Sami Hangaslammi" <sami.hangaslammi@xxxxxxxxx>
- Date: Tue, 14 Mar 2006 12:15:58 +0200
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 14 Mar 2006 05:16:02 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ym5v2cJu4cR1pgCMTgIC4SBb8KHZ8bsUuzNKBkvYflBGo52mfF2xlHNZ0YoeufkizqnhPOFfFw8MZkN4aI/pap2waWC5Abn0jBLUa/WSS87BBX6n64LXxPVt7Y6bFenHMLulr2tAnHWyTNm3fep6DNCzBlCNSMItB6MUj8o7PpU=
- In-reply-to: <44167BC0.5060404@gmail.com>
- References: <44167BC0.5060404@gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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