Commit 14c55ac890d5ebddbeec50a7e16649da67130e69

Sam Lantinga 2018-10-26T20:20:28

This change looks okay in the general case. If we run into problems where these events aren't dispatched (initialized on a different thread than the main thread?) we may need to create a separate thread to handle device notifications like we do with the windows joystick subsystem.