Page 1 of 1

can I connect a keyboard and mouse via a raspberry pi to my android phone?

Posted: Sat Feb 15, 2020 10:21 am
by Jodiejoost
hello,
I have some plans to make some kind of gaming console, using my phone. (a Xiaomi mi 9t).
I want to make some kind of hub to connect my phone on, a keyboard and mouse or a ps4 controller. I want to connect my phone using a hdmi hub to a television or a monitor, and use a keyboard and mouse by connecting my raspberry pi 3B+ via bluethoot to my phone. if i connect my raspberry pi to my phone, it sees the raspberry pi as a raspberry pi. if i connect my ps4 v1 controller (my mobile games don't support this controller, only the V2 one) to my phone, it is seeing my controller as 'wireless controller'. is there any kind of program that i can use to let my phone see my raspberry pi as a 'wireless controller'? so i can use my keyboard and mouse on mobile games like minecraft? or to do the same thing with my controller (but then my phone needs to see the controller as a 'ps4 V2 controller' instead of a 'ps4 V1 controller'. sorry for my english

thanks in advance

Re: can I connect a keyboard and mouse via a raspberry pi to my android phone?

Posted: Sat Feb 15, 2020 12:27 pm
by LTolledo
I'd skip the RPi3B+ in between and just get a bluetooth keyboard and mouse, a bluetooth gaming controller to connect to the android phone.

am already using a bluetooth keyboard and mouse on my old Android 4.2 phone and its much simpler and easier to do....


or you still prefer to think it over and proceed as you planned.... taking additional time (and money) instead of enjoying what you want done immediately on your android phone....

Re: can I connect a keyboard and mouse via a raspberry pi to my android phone?

Posted: Sat Feb 15, 2020 12:52 pm
by Imperf3kt
press and hold options and select on the ps4 controller and it'll enter Bluetooth pairing mode, from which you can directly pair it with your phone, avoiding input lag.