Thanks for the reply. I have read the linked thread many times but I'm still confused
. Are you saying that in your application because your VIN is less
than 7.5V the Voltage Regulator switches to USB power so in order to 'trick' it you have cut the red on the USB cable?
In my application in contrast because my VIN is greater
than 7.5V the Voltage Regulator switches to VIN. Does this mean it will cut the voltage on the USB and simply use the data lines?
I suppose what I'm asking is if I'm powering my Arduino with 9V and
have the USB connected acting as HID device will be OK i.e. it won't damage anything?
Any assistance would be greatly appreciated.