Why can't the phone itself act as the input device? Sure it's not a full-fledged keyboard, but it could work wonderfully in a pinch.

it should at least work as a trackpad.