Method ToKeyInfo
ToKeyInfo(Key)
Converts a Key into the native keyboard info type. Should be used for simulating key presses in unit tests.
TInputRecord ToKeyInfo(Key key)
Parameters
keyKey
Returns
- TInputRecord
Converts a Key into the native keyboard info type. Should be used for simulating key presses in unit tests.
TInputRecord ToKeyInfo(Key key)
key Key