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.