In my application I use Low Level Global Keyboard Hook in order to detect which keys the user have pressed.
For now what my application does is translating the key to english, no matter what keyboard layout you use. What i want it to do is to be able to identify the current keyboard layout, and parse the key that was pressed to the char in the current keyboard layout.
For example, if i press 's' key on my keybard, and the current language layout is Hebrew, I want to get the char 'ד' which is the char that's written on the same key as 's' in hebrew keyboards.
Haw can I do such thing?