Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ghost82

macrumors member
Original poster
Apr 22, 2019
85
54
Hi, Big Sur 11.4 on intel.
In the latest update to 11.4 my third party keyboard swapped a pair of keys, less than and more than are swapped with backslash and |.
I always used the DefaultKeyBinding.dict files to map my keys, and it worked, and it still works, but not for the backslash.
I would avoid third party apps, I prefer built-in solutions
Here is my DefaultKeyBinding.dict:

Code:
{
    "#," = ("insertText:", ".");
    "$|" = ("insertText:", ">");
    "$>" = ("insertText:", "|");
    "<" = ("insertText:", "\\");
    "\\" = ("insertText:", "<");
}

first rule is to write "." instead of comma when pressed in the numpad ---> OK
second rule is to write more than for shift+| ---> OK
third rule is to write | for shift+more than ---> OK
fourth rule is to write backslash for less than ---> OK
fifth rule is to write less than for backslash --> NOT OK

Oh well...with the last rule if I press the backslash it writes less than, but the problem is that all the letters and numbers are mapped to less than.....: note that I have a password to login, and the password is accepted, but I don't know if the mapping works at the login screen or not.
I also tried with "\U05C" = ("insertText:", "<"); --> same result, no difference.

Is this totally broken or is it my fault?
Can anyone try to map the backslash?

Thanks
 

ghost82

macrumors member
Original poster
Apr 22, 2019
85
54
Apart this I think that's something wrong with the italian layout:

Apple keyboard layout italian:
ita.png

Note next to Z and next to 1: I have this layout on my third party keyboard.

This is the layout in system preferences on big sur 11.4:
system.png

Why the less than next to 1????
My god...why do they touch the keyboard layouts???
 

ghost82

macrumors member
Original poster
Apr 22, 2019
85
54
Solved..for some strange reason setting again the keyboard with the assistant keyboard solved all the issue, as I need to map only the comma key on the numpad, less than and more than keys are in the right place now.
To make the assistant reappear I had to remove file in /Library/Preferences/com.apple.keyboardtype.plist
The image of the layout in system preferences is still wrong.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.