Win XBMC crashes when XBOX-controller disconnects
(2012-06-04, 21:42)WiSo Wrote: thanks for the heads up but your code is wrong as well as m_HatState can take at least two flags (down and right for example).
Thats code from the sdl layer which sets sdl centered at the beginning: http://hg.libsdl.org/SDL/file/9a65b2bd4e...ick.c#l259

I see. IMHO, taking in consideration two directions at the same time is a bit pointless for a media center app. So a proper fix would be m_HatState = SDL_HAT_CENTERED; before the if's, just like the SDL code.

[edit] I see you already pulled that fix before Smile
Reply


Messages In This Thread
RE: XBMC crashes when XBOX-controller disconnects - by A600 - 2012-06-04, 22:04
Logout Mark Read Team Forum Stats Members Help
XBMC crashes when XBOX-controller disconnects0