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

HID Keyboard Mode #47

Open
arkorobotics opened this issue Oct 23, 2021 · 2 comments
Open

HID Keyboard Mode #47

arkorobotics opened this issue Oct 23, 2021 · 2 comments

Comments

@arkorobotics
Copy link

Hello!

I noticed the Morserino-32 in "CW Keyer" mode enumerates as a com port device and outputs the same decoded string (sent by the user) as shown on the display. Would it be possible to make it enumerate as an HID Keyboard instead? I would like to practice typing and sending text messages with CW. Just an idea. Thanks!

@oe1wkl
Copy link
Owner

oe1wkl commented Oct 24, 2021 via email

@allthelazorz
Copy link

Hi, just chiming in.

First, thank you Willi for this awesome product, and your hard work!

I also wanted to use the Morserino as a keyboard, so I wrote a small program to translate the characters from the serial port to Windows keypress events to any active window.
I have made it this weekend, just mindlessly throwing together snippets from the net, so it is very ugly, probably buggy, but it seemed to work so far. I won't spend much time on it as far as it works, but if somebody wants do to the same, feel free to use it.

https://github.com/allthelazorz/serial2keypress/

I have compiled it in Visual Studio as a C++ Console App. If it doesn't work properly, I re-plug the Morserino, and restart the program, but didn't have to do that much so far.
I intentionally don't let the spaces through, because I'm still slow at Morse, and I cannot keep proper pacing yet. You can change this at the bottom of the code if you want.
I use the Morserino with my right hand, pressing spaces and (lots of) backspaces with the left on the keyboard. Shift can make some letters capital, but not all, I haven't figured that out yet. Caps lock works on all letters. You need to switch your keyboard layout to English for the symbols to work properly.

It is very far from a good and usable solution, but you can use it until something better comes along. I have happily beeped URLs into my browser, typed short notes, even did some runs with it on typeracer.com :)

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

No branches or pull requests

3 participants