If you missed the first tutorial you can find it here.
My Targus iPad bluetooth keyboard have a couple of non standard mappings that I need to fix. To do this I enter the Advanced settings and choose Customize keyboard mappings.
Since this is my first custom layout (you can have two) I choose to put it into the Custom 1 slot.
First I want change the scancode for Back because the "Esc" button on my keyboard does not use scancode 1 for the ESC key as keyboards normally do. So I select the first line in the list which is the scancode-1-to-Back mapping. (This mapping is to make the ESC key send the Back keycode instead of the ESC keycode. Some die hard vim users will want to remove this mapping but for most people having Back mapped to the ESC key is the preferred choice.)
Selecting this line brings up the key mapping dialog.
Since I just want to change the scancode I press the Change button and then press the Esc key to read it's real scancode that turns out to be 139. (Notice that this is a Keycode mapping which is different than the more common Character mapping.)
When I press Save it will actually create a new mapping for scancode 139 and keep the old one. If I want to remove the old mapping I need to select it again press Delete but usually I leave the old ones unless the conflict with something else. As you can see changing the scancode for an existing mapping can be used to copy a mapping. Keep in mind that if a mapping for scancode 139 already exist it would be overwritten without any warning.
I also have one more mapping that I need to change for this keyboard and it's scancode 86 so I press the line for the scancode 86 mapping. (Notice that this is a Character mapping with the Keycode checkbox cleared)
I press Change and press the key on my keyboard that has the < > | signs on it and it turns out that it uses scancode 41.
Pressing save creates a copy of the mapping but now with scancode 41. You can also see the scancode 139 mapping I made in the previous step.
Since I'm done for now I just back out back into the settings menu where I can see that my selected layout has changed from Swedish to Custom 1.