I am currently studying DVORAK layout on my QWERTY keyboard, which means that when I want to use keyboard shortcuts like Ctrl + C in DVORAK that ends with Ctrl + J, convenience is lost when I have to use two hands for various teams. There is no way on Windows to change the shortcuts, and authotkey scripts do not work when you switch back to QWERTY, instead they destroy the quick access functions for QWERTY before exiting the script.
So what I want to do is make my own program, which will determine your layout and send the necessary keys, but first I need to determine which keyboard the user should use, and I cannot figure out how to do this.
Is there a way to easily determine which keyboard layout someone is using?
source share