I've got this problem with trapping keys. The biggest problem is handling keyboard of various languages. AZERTY, QWERTY and other various ones around the world. I need the ascii character typed, basically. A flawless method that converts scancodes to ascii codes.
So in essence:
- One function that tells me which keyboard layout it is
- One function that converts a scancode into an ascii code by supplying keyboard layout
I suppose I can find that in a windows API, but where to start?
Thanks for any help.
So in essence:
- One function that tells me which keyboard layout it is
- One function that converts a scancode into an ascii code by supplying keyboard layout
I suppose I can find that in a windows API, but where to start?
Thanks for any help.