![]() |
GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
|
Static Public Member Functions | |
| static bool | TryConvertVkCodeToDomKey (byte vkCode, out string key, out string code) |
| Converts a Windows VK code to DOM KeyboardEvent key and code values. | |
| static bool | TryConvertAsciiToVkCode (char asciiChar, out byte vkCode) |
| Converts an ASCII character to a Windows Virtual Key (VK) code. | |
Definition at line 25 of file VkCodeToDomKeyConverter.cs.
|
static |
Converts an ASCII character to a Windows Virtual Key (VK) code.
| asciiChar | The ASCII character to convert (e.g., 'a', '0', ';'). |
| vkCode | Output: The Windows Virtual Key Code (e.g., 0x41 for 'a'). |
Definition at line 171 of file VkCodeToDomKeyConverter.cs.
|
static |
Converts a Windows VK code to DOM KeyboardEvent key and code values.
| vkCode | The Windows Virtual Key Code (e.g., 0x24 for VK_HOME). |
| key | Output: The DOM KeyboardEvent.key value (e.g., "Home"). |
| code | Output: The DOM KeyboardEvent.code value (e.g., "Home"). |
Definition at line 136 of file VkCodeToDomKeyConverter.cs.