Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I followed the step from that link but it didn't solve anything. I suspected my Logitech G413 mechanical keyboard but I totally doubt it since mechanical keyboards are very durable devices.

Well, you could test that theory by using it on another device for a while, or using a different keyboard a bit
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.