Android P will turn your phone into a Bluetooth powered keyboard or mouse?
The next step took place in December 2016 when the patch was added as a commit. Despite that, the feature was disabled on Android releases up through now; it will finally become enabled on Android P after a second commit was posted. The appropriate APIs are now unhidden for developers to use so that their apps will be able to work with the keyboard and mouse-like capabilities on phones running Android P.
The first phone line to have this feature up and running will no doubt be the Google Pixel and Google Pixel XL series. And while these new functions won't turn your phone into a PC, it will allow you to carry your computer without having to bring the keyboard or a mouse.