Access passcode locked iPhone with broken screen without jailbreaking My iPhone screen broke but I know my passcode.

Is there anyway I can enter my passcode from my Mac? If yes, what app/software?


I already deleted my backup (iCloud) due to space, so I need to back it up before I wipe it. Can someone guide me through the process or a share a viable link? Apple Support Communities is too ambiguous for me.
This image seems relevant:




My screen is not functioning. 
I've tried iExplorer/iBrowser, all to no avail.
I need an app/software to control my iPhone from my Mac.
Solution 1: USB keyboard

You can use the Apple Lightning to USB Camera Adapter.


Connect the adapter to your iPhone.
Connect a USB keyboard to the adapter.
Enter your passcode




Solution 2: Bluetooth keyboard

If you had connected a bluetooth keyboard to your iPhone before you can use it to enter your iPhone's passcode.


Make sure your iPhone has bluetooth enabled
Turn on your keyboard and pair wait for it to connect to your iPhone.
Enter your unlock passcode.