<May 2023>
How to swap Y and Z keys programmatically?

Making errors too often when using Y and Z keys?

If so, change their positions programmatically in windows.

  • Easy way to get that done is by using SharpKeys application BUT it does not allows you to program keys selectively depending on chosen keyboard layout. 
  • More advanced way is to use Microsoft Keyboard Layout Creator application. If you are running Windows 7, after you download its setup file, make sure to run it in Windows Vista compatibility mode. And don't forget to redefine keys for cases with Shift, CapsLock, Alt, and/or Ctrl pressed.

I have physical keyboard with Y\Z (Z key positioned above Y key) (Serbian edition) and that makes no problems as far as I use just one keyboard layout in windows (Serbian-latin). But, I switch to US keyboard layout on regular basis and it expects Z\Y (Z key to be below Y) so it was very irritating to give attention to these details every time I use these keys.
My solution was:

  1. I concluded that I want to learn and get use to US keyboard layout since it is more common. Buying new US keyboard was not an option since it was notebook.
  2. I physically swapped keys so that Y end up above Z (Z\Y, as for US).
  3. In windows, for keyboard layout that expects different, Y\Z, swap keys programmatically. This can be done with Microsoft Keyboard Layout Creator mentioned above.
    If you are using Serbian-Latin layout, like me, don't bother to learn that application. Just install my Serbian-Latin layout with YZ keys swapped.

I you have physical keyboard with Y\Z (serbian or another non-US) and you want to train your self, and use Y\Z AND you are using US-International layout just install my US-International layout with YZ keys swapped.

After installing any of above don't forget to change layout in Windows to newly installed. Provided layout setups are tested on Windows 7 (32bit), XP and Windows 10 (64bit) but should work on any other Windows platform.

No Comments

Anti Bot Image   


(optional; never shown publicly; for notifications from this thread)
Anti Bot Image