[SDL] SDL 2.0.1 RC1

Sik the hedgehog sik.the.hedgehog at gmail.com
Wed Oct 23 03:14:20 PDT 2013


So... one still has to open them just to get the events, and keep
track of those pointers just to be able to close them in case the
joystick gets unplugged... :/

2013/10/23, Alberto Luaces <aluaces at udc.es>:
> Sik the hedgehog writes:
>
>>> SDL has an instance ID to automatically handle the hot-plug scenario,
>>> where
>>> someone unplugs a joystick and plugs a new one in, so you can just
>>> handle
>>> all joystick events without caring where they come from and it's all
>>> good.
>>
>> Do events get reported at all if the joystick isn't explicitly opened,
>> though? (added/removed aside, obviously)
>
> Not in my experience.
>
> --
> Alberto
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



More information about the SDL mailing list