Meaningless RANT ahead.
My usb keyboard was turning off randomly and like some times it would stop working or just the keyboard would delete a lot of things by itself or keep spamming a single key and to solve it i would need to disconnect and reconnect it, but it was only the keyboard, the mouse and drawing tablet work perfectly, it was draining my sanity.
I changed ports, the problem kept appearing, changed keyboard, the problem kept appearing, got a usb pcie card with direct connection to the power supply, nothing changed, got a freaking new power supply, nothing changed, GOT A NEW MB and properly isolate it from the chasis, NOTHING CHANGED!
i was literally about to freaking jump from my balcony and gave up, i was about to buy a wireless keyboard, THEN i just decided for once to use the shield that comes with the motherboard, nothing changed as expected, but it looks better... THEN i noticed a tiny weird shaped metal piece in the back of chasis, i just hit it in shape ONCE.
KEYBOARD NOW WORKS PROPERLY, freaking sorcery that thing wasn't touching anything a swear, months of becoming insane, of code being deleted or ruined, incapable of write, some times keys would spam when using the drawing tabled, all of that, because a tiny piece of the chasis was weird. i needed to rant about this even if nobody reads this.
i WASTED money into a new power supply AND a mb thinking they were broken 🙃i dont even feel it as an upgrade, its still am4, maybe i went from pcie3 to 4, but that is basically meaningless and i'm from colombia, so they were actually like 3 times more expensive for me 🙃🙃🙃.