Solved, I needed to remap the virtual keys, to the proper scancode. Did that manually editing the .klc file, because I found no way to do it in MS Layout Creator. Then I just used the Creator to generate the setup files, from the edited .klc .
Detail by example: I
- I have physically switched the z/y keys on the keyboard
- I have used MS Keyboard Layout Creator to alter the German keyboard so as to type "z" in scancode location 2C (View this webpage for scancode / virtual key settings by locale)
- I have named the custom keyboard that matches my physical layout "Deunglish" However because Deunglish started of as a German keyboard the Virtual Key VK_Y is still mapped to scancode location 2C, despite setting this as an English keyboard with Creator.
- Open the Deunglish.klc file with Notepad++ (or other editor) and replace "y" (virtual key name) with "z" for scancode 2C.
- Now you will have two definitions for VK z, assigned to two different scan codes, in this case scancode 15. Change that to y as you did for z.
- Load the klc file in the MS, verify and Build DLL and setup (If you had been using the keyboard you have just edited, you need to unload and uninstall the previous version first. You will likely need to restart)
You have physically switched the z/ysuccessfully swapped virtual keys and assigned them to positions on the keyboard I have used MS Keyboard Layout Creator to alter the German keyboard so as to type "z" in scancode location 2C! (View this webpageDo this for scancode / virtual key settings by locale) I have named the custom keyboardall keys that matches my physical layout "Deunglish" However because Deunglish started of as a German keyboard the Virtual Key VK_Y is still mapped to scancode location 2C, despite setting this as an English keyboard with Creator. Open the .klc file with Notepad++ (or other editor) and replace "y" (virtualmay need proper virtual key name) with "z" for scancode 2C. Now you will have two definitions for VK z, assigned to two different scan codes, in this case scancode 15. Change that to y as you did for z. Load the klc file in the MSactual output matching, verify and Build DLL and setup (If you had been using the keyboard you have just edited, you need/or to unload and uninstall the previous version first. You will likely needset to restart) You have successfully swapped virtual keys and assigned them to positions on the keyboard!new scan codes.