I would like to know if a BadUsb can simulate a real device or it just execute programmed functions and stop working. For example, if a "mouse" is a BadUsb, when I plug it in a PC, will it work like a real mouse and allow me to use it or will just execute programmed functions and don't work anymore?
Also, these functions are visible? For example, will a terminal always appears on screen or can the code execution be invisible?