Keyboard going berserk, typing on its own
When my iMac has been 'resting' or 'sleeping' about every 3-4 days, it goes crazy typing by itself streams of letters. I know this has been a problem written about before, but I didn't find any answers there.
The only thing that solves the problem is unplugging, waiting, then re-starting the computer. I have checked all the standard "sticky keys+++" advice. No. And the problem appears 50% of the time when the screen has been asleep and I try to log in again with my password ... then I get an endless stream of those black circles that hide your password when logging in. I delete, but a few seconds later the stream of automatic 'letters' starts up again. This has happened when I'm set up to give a work presentation via ZOOM and then my colleagues have to wait while I re-start the computer; it's awful.... Help anyone?
iMac 27″, macOS 10.14