Arduino pro micro 32u4 (As usb midi) stopped working some time

I made Arduino pro micro 32u4 into USB midi controller + usb keyboard&mouse functions.

`#include "Mouse.h"
#include "Keyboard.h"
 #include <Keypad.h>
#include "MIDIUSB.h" 
#include <Wire.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_GFX.h>`

This is working well with pc Fl studio . But I faced problem that , in my software some times when a song file is playing , this device (32u4) stop working.and I have to remove it from usb port and reconnect it. In reconnecting process , running song file is disturbed.

Is it because of I have no drivers for device not installed on my pc ????
If it is related to required drivers .
Please , tell me where & how can I install to my win7 32bit system.

I also receive a message in fl studio on connecting board to pc "drivers not installed for this device"
I want arduino 32u4 keep on working well , until I remove it from pc usb port.

If it is related another reason, please suggest me what????

Thank you.

Your first mistake looks like being the missing code.
Know that every helper is a newbie to Your project and the over all code helps helper to understand things.
Please use IDE autoformat, copy, code tags </> when pasting here.