add kemaps to win

This commit is contained in:
2017-04-24 11:55:12 +01:00
parent 5ac666f911
commit 874176c19a
4 changed files with 221 additions and 2 deletions

View File

@@ -635,11 +635,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
break;
case WM_KEYDOWN:
keys[wp] = true;
App::I.key_down((int)wp);
App::I.key_down(convert_key((int)wp));
break;
case WM_KEYUP:
keys[wp] = false;
App::I.key_up((int)wp);
App::I.key_up(convert_key((int)wp));
break;
case WM_CHAR:
App::I.key_char((int)wp);