한 키의 스캔 코드나 가상 코드 또는 이름/텍스트를 열람합니다.
String := GetKeyName(Key) Number := GetKeyVK(Key) Number := GetKeySC(Key)
A VK or SC code, such as "vkA2" or "sc01D", a combination of both, or a key name. 예를 들어 GetKeyName("vk1B")와 GetKeyName("Esc") 모두 Escape를 돌려주는 반면에, GetKeyVK("Esc")는 27을 돌려줍니다. VK 코드와 SC 코드는 십육진수임에 유의하십시오. 십진수를 적절한 포맷으로 변환하려면, Format("vk{:x}", vk_code)이나 Format("sc{:x}", sc_code)를 사용합니다.
These functions return a name, virtual key code or scan code of Key.
GetKeyState(), 키 리스트, Format()