Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #823 from LightBender/patch-1
Browse files Browse the repository at this point in the history
Added support for basic Key State API's
  • Loading branch information
yebblies committed Jun 2, 2014
2 parents afacca3 + 47b98f9 commit cb936c4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/core/sys/windows/windows.d
Expand Up @@ -2962,6 +2962,16 @@ export BOOL ScrollWindow(HWND hWnd, int XAmount, int YAmount, RECT* lpRect, RECT
export BOOL ScrollDC(HDC hDC, int dx, int dy, RECT* lprcScroll, RECT* lprcClip, HRGN hrgnUpdate, LPRECT lprcUpdate);
export int ScrollWindowEx(HWND hWnd, int dx, int dy, RECT* prcScroll, RECT* prcClip, HRGN hrgnUpdate, LPRECT prcUpdate, UINT flags);

/*
* Key State API
*/

export SHORT GetKeyState(int vKey);
export SHORT GetAsyncKeyState(int vKey);
export BOOL GetKeyboardState(PBYTE lpKeyState);
export BOOL SetKeyboardState(LPBYTE lpKeyState);
export UINT MapVirtualKey(UINT uCode, UINT uMapType);

/*
* Virtual Keys, Standard Set
*/
Expand Down

0 comments on commit cb936c4

Please sign in to comment.