add kemaps to win
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user