Hi, i have been thinking about how i can translate example (SHIFT + ALT + 2) to @.
I been checking google but i can't find anything, i thought getasynckey would do the trick but then i realized that there are different keyboard layouts by languages.
This actually works, but i have to make sure to know what alt + ctrl and such is.
The code below is what im using, anyone know a better way to do it?
if (this->focused) {
int alltogheter = 0;
if (GetAsyncKeyState(VK_CONTROL) && GetAsyncKeyState(VK_MENU)) {
alltogheter = 256 + 256;
alltogheter = alltogheter * 3;
}
if (GetAsyncKeyState(VK_SHIFT) && !GetAsyncKeyState(VK_MENU)) {
alltogheter = alltogheter + 256;
OutputDebugString(L"YEA!");
}
for (int i = 1; i < 255; ++i) {
// The bitwise and selects the function behavior (look at doc)
if (i != 164 && i != 160 && i != 16 && i != 18 && i != 162 && i != 17) {
if (GetAsyncKeyState(i)) {