compile for Android, add initial TextInput support

This commit is contained in:
2017-03-25 08:35:09 +00:00
parent a2cb0ecafe
commit 0bc5e7aea9
9 changed files with 167 additions and 22 deletions

View File

@@ -459,9 +459,14 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
break;
case WM_KEYDOWN:
keys[wp] = true;
App::I.key_down((int)wp);
break;
case WM_KEYUP:
keys[wp] = false;
App::I.key_up((int)wp);
break;
case WM_CHAR:
App::I.key_char((int)wp);
break;
case WM_MOUSEMOVE:
App::I.mouse_move(LOWORD(lp), HIWORD(lp));