One of the processes keeps sending a keystroke repeatedly in the background, how to identify the culprit?
It turned out that the culprit was Karabiner-elements, and the issue has been resolved in the latest update.

https://github.com/tekezo/Karabiner-Elements/issues/1828

https://pqrs.org/osx/karabiner/history.html