My macbook air has swapped keyboards
I am running OS Monterey on my two year old mac book Air. The keyboard settings appear to be changed to one of the AWERTY keyboards, possibly French or French Belgian. I am typing this on my old Mac while trying to puzzle out how to fix this. This is relevant because the newer Macbook Air also decided to crash on me while all this is going on. The most immediate problem is how to translate my password into the correspondingly swapped symbols on the AWERTY keyboard.
I have figured out everything except one symbol, the exclamation point, which is part of my password. I have tried the corresponding symbols on the French and the French Belgian keyboards without success. Of course, with each incorrect iteration, I am locked out of my computer for longer periods of time.
I have enclosed pics of the two keyboards I think might be possible culprits. I have already tried the following:
(1) Trying to access the ! by typing 8 on the Belgian French keyboard,
(2) Trying to access the ! by typing shift +8 on the Belgian French keyboard,
(3) Trying to access the ! by typing ! on the French keyboard (which holds the double S and the ! in the same position as the ? and / key on the US keyboard) and
(4) Trying to access the ! by typing shift+! on the French keyboard (which holds the double S and the ! in the same position as the ? and / key on the US keyboard).
I'm already locked out for an hour and getting more nervous about this. Has anyone had this problem before and what did you do to solve it?
---------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
MacBook Air, macOS 12.7