sdl@lists.libsdl.org
[Top] [All Lists]

Re: [SDL] Joystick troubles

Subject: Re: [SDL] Joystick troubles
From: Pierre Phaneuf
Date: Mon, 16 Feb 2009 15:41:21 -0500
On Mon, Feb 16, 2009 at 3:10 PM, Donny Viszneki
<donny.viszneki@xxxxxxxxx> wrote:

> As Sam alluded, you have to "pump" the event subsystem in order to get
> the values from those sort of functions to be updated. It is a little
> counter-intuitive, but even the functions to *pull* input state
> require you to pump the system that seems to be for *pushing* the
> input state ;)

Thus, polling is an illusion. ;-)

-- 
http://pphaneuf.livejournal.com/
_______________________________________________
SDL mailing list
SDL@xxxxxxxxxxxxxxxx
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

<Prev in Thread] Current Thread [Next in Thread>