gui-win32: handle Khome, Kend, Kpgup and Kpgdown (thanks hiro)

This commit is contained in:
David du Colombier 2015-11-20 09:44:56 +01:00
parent 965baf3dce
commit 23d9a24788
1 changed files with 12 additions and 0 deletions

View File

@ -416,6 +416,18 @@ WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
case VK_DELETE:
kbdputc(kbdq, Kdel);
break;
case VK_HOME:
kbdputc(kbdq, Khome);
break;
case VK_END:
kbdputc(kbdq, Kend);
break;
case VK_PRIOR:
kbdputc(kbdq, Kpgup);
break;
case VK_NEXT:
kbdputc(kbdq, Kpgdown);
break;
case VK_UP:
kbdputc(kbdq, Kup);
break;