Using a PC or laptop to send keystrokes to type on android

by Mitchell   Last Updated August 14, 2019 09:11 AM

First time user and I wanted to ask if there is a way to use my computers keyboard to type on my phone while it is plugged in to the PC to charge. I was wondering if anyone on here has a setup like this.

The end result needs to be: I can connect my phone through a dock or some other USB cable and either switch between windows on my PC to type on the android device, or find an OTG device capable of charging AND connecting a keyboard at the same time. This wouldn't be ideal due to limited desktop space.

I could connect a separate keyboard with an OTG cable, but this would stop me from charging it while using it.

I could also use AutoHotkey or something similar to send keystrokes to the android device over USB but I'm not sure how this would affect charging it or transferring files over USB as well. It could probably be done but I don't know where to start.

Ideally this would be the option I'd use.

I have very limited knowledge of Java and Kotlin but if I HAVE to I could try to make a keyboard app and a simple program for Windows to switch between typing on PC and on my phone. But I don't know if i can send that kind of data over USB and still move files onto it.

Sorry if I didn't explain properly.


Related Questions

How To Add Thailand & Cambodia Keyboards on Remix OS

Updated October 23, 2016 09:04 AM

Bluetooth Keyboard won't automatically connect

Updated April 24, 2015 21:04 PM

Android 7 (Nougat) Bluetooth keyboard loses focus

Updated February 24, 2017 20:11 PM