Reputation: 9903
I am writing my own on screen keyboard.
The only piece missing is the position of each key on the keyboard.
Windows allows you to get the keyboard layout: http://msdn.microsoft.com/en-us/library/ms929433.aspx
But how does one get the position of a key for a given layout?
Upvotes: 0
Views: 908
Reputation: 109002
I do not think (am quite sure that) you cannot get (X, Y) coordinates of a key on a keyboard, given a language identifier. After all, this depends on the keyboard. When it comes to the typical layouts, I guess you have to obtain the data from some external source...
Upvotes: 1