Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FromChar extension method #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JamesMatchett
Copy link

@JamesMatchett JamesMatchett commented Jul 18, 2018

Hi there, I was working on a voice control program using InputSender as the library to input the spoken commands and found there was no easy way to convert the character the microphone heard to a VirtualKeyCode for the Input sender to send.

I wrote this small extension method to make this process as easy as possible.

Please let me know if it's of any use.

I should add the current usage is
VirtualKeyCode vk = new VirtualKeyCode().FromChar(CharToInput);

-Best, James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant