I had to stop using the Keychron keyboard. It was becoming unreliable: key presses were not being registered, or duplicates events were being emitted. I’ll go back to my Microsoft Sculpt as soon as I get batteries for it.