Added keyboard input support for Windows
Completes T6269
Details
- Reviewers
albertvaka - Group Reviewers
KDE Connect - Commits
- R224:467ac64be7d1: [remoteinput] Added keyboard support for windows
- Open Remote input
- Type something in
Diff Detail
- Repository
- R224 KDE Connect
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Thanks for the patch!
Just tried it, and it works great. Some shortcuts don't seem to be recognized, though: I can't do ctrl+c or ctrl+v but ctrl+tab seems to work. I'm using Hacker's keyboard on Android to enter special keys.
Apart from that, text input works 100%, so I think we can merge this anyway and fix it later (unless you want to update this patch with the fix). I will need your email to merge the patch in your behalf.
I think I know the reason why ctrl+c or ctrl+v doesn't work. It's because when KEYEVENTF_UNICODE is used, a VK_PACKET keystroke is sent which doesn't combine with other keys. I'll try to update the patch with a fix this week.
Fixed key combinations. This patch is ready to be merged.
My email is jambonmcyeah@gmail.com.
P.S. Thank you guys for creating such a wonderful app. I'm glad I could contribute.
By the way, feel free to join the KDE Connect development Telegram group https://t.me/joinchat/AOS6gA37orb2dZCLhqbZjg or the IRC channel #kdeconnect (both are bridged together), specially if you plan on contributing more patches! More help with the Windows stuff would be great, actually :)
If you are looking for something to do next, the RunCommand Plugin should be fairly easy to port to Windows. Just replace the "/bin/sh" command with something appropriate for Windows