Commit 523064592a9b35bced55fd2c4f97efc4a3bc63b7

Sam Lantinga 2015-05-26T08:52:02

Fixed bug 2869 - Controllers connected on launch are reported twice. Since all device detection/removal happens on the main thread now, post events inline with when the status changes occur. Also fixed rare cases when joystick API functions could return data about removed joysticks when called with a device index.