Tilde, back tick and Pipe are missing from keyboard

I opened a terminal window this morning and couldn't cd to <tilde>/home. When I type a tilde, I get a paragraph symbol. Yesterday, my external keyboard could type a Pipe symbol, no such luck today.

I ended up having to use hidutil to remap my keyboard and run keystrokes through terminal to restore what worked yesterday.

When I look at the available English keyboards, they're all showing a paragraph symbol above the Tab key.

Has anyone else run into this sudden keyboard change?

Forgot to mention I'm on Sequoia 15.5.

Here's the hidutil command that remaps the tilde, backtick and pipe back to normal. You'll need to give terminal permission to intercept keystrokes so the remapping works.

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'

Tilde, back tick and Pipe are missing from keyboard
 
 
Q