My iMac keyboard intermittently becomes meaningless symbols rather than letters
Intermittently my Apple keyboard for my iMac does not work properly.Rather than typing letters it types meaningless hieroglyphics.I can still read things using my mouse but I can't type any message.Nothing specific seems to set this off and nothing specific seems to allow me back into my computer.
I have had 3 phone conversations with Apple staff-two thought it was the keyboard settings (it was not) and one thought it was the keyboard mechanics (it was not).
Does anyone have any ideas apart from the tedious last resort of wiping everything on the computer and starting again.
iMac 24″, macOS 14.2