This issue randomly appeared one day and its making it hard to play. I play minecraft and gamemodes in which clicking high clicks per second is very beneficial. One day this problem appeared - while i am clicking high cps, any keyboard inputs Ive held, they get held/delayed while im clicking, some dont register. Its hard to explain. I would post a link to a clip of the issue, but the website doesnt allow external links. The inputs also get delayed when im not necessarily having high cps, but double clicking (clicking my mouse button once but in a way it registers 2 clicks in a very short amount of time) which also slightly delays inputs and makes me not able to bridge properly ingame. Happens using any of my keyboards or mice plugged into any usb ports. GPU and CPU arent experiencing high usage. I tried reinstalling mouse and keyboard drivers, installing latest graphics drivers, lowering mouse polling rate and other stuff like settings but i cant fully remember.
Additional info:
1. I have laptop - HP omen 16 xd0xxx
2. One day the issue appeared, after around 2 months it disappeared, but then after a few weeks it appeared again
3. On every boot up of the laptop, when first opening minecraft, after a few minutes of playing, my character would randomly experience this input issue for around 4 seconds even without me clicking at all. consistently.
4. during the first 2 months before it stopped happening, i could uninstall the mouse drivers and restart my laptop and it would fix the issue around 70% of the time for that day. After the issue appeared again, this doesnt work.
Would really appreciate your help. Minecraft is the only game i enjoy and this problem is making me not enjoy it. I am not really tech savy when it comes to tech and computers, so i would appreciate simpler language when responding

