GetKeyState

From kwiki

Jump to: navigation, search
This article is written by Konrad, thus using rather nonstandard English:)

GetKeyState (DNM Script function)

full declaration

BOOL GetKeyState(int key)

return value

BOOL

description

TRUE if given key is pressed.

Key maybe a letter like "A" or a virtual key like VK_SPACE

GetKeyState is an equivalent for Windows Api function GetKeyState, thus you can find it on MSDN here: http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=GetKeyState


keywords: check test key keyboard state is down up
Personal tools
konradp.com