Patch to make BJoystick non blocking on read
|Reported by:||caz_haiku||Owned by:||mmlr|
|Has a Patch:||yes||Platform:||All|
This patch allows BJoystick to be used in a non blocking way, BJoystick should not block and wait in it's Update function. Also a patch for BJoystick's GetDeviceName function, it is legal to call GetDeviceName without first using CountDevices. Also this patch has modification for JoystickProtocolHandler to allow the non blocking read. Excellent work from mmlr for implementing the BJoystick in usb_hid, does this guy ever go to sleep :-). If these changes are not acceptable, then however BJoystick is implemented it should not block in it's update function for compatibility.