The touchscreen on my iPhone has partially broken, preventing me from entering my passcode to unlock it.
I have a Mac and a standard Apple Lightning to USB cable. I'm currently on lockdown so this is all I have for the forseeable future. I'd very much like to unlock my phone in the meantime.
Can I turn my Mac into a virtual USB keyboard, enabling me to unlock my iPhone?
Edit: It looks like I might be able to run Linux inside a VM and create a HID keyboard gadget via ConfigFS, using this approach. Does anyone know whether this will actually work? i.e. if the Mac's hardware is capable of being the "gadget" rather than the host?