Hey, so this is the weirdest fix I've ever seen. I had my keyboard/mouse acting laggy or unusual after my Mac woke up, and using a different keyboard/mouse on a different Mac started to do the same ...
Repeat delay: Controls the time delay before a keystroke repeats when held down. Repeat rate: Determines the speed of repeated keystrokes. Press the Windows key, type Device Manager, and hit Enter.