Added support to assign devices to different players on a system basis, change some APIs in device manager.