Merged the connect prismatik parts together
Commented hidapi's write error when it uses register_error function which can cause heap corruption