A few months ago I was mucking around with some code to support hold and remote input in the UI Simulator. Nothing came of it, but if anyone would like to take what code I did write and go further with it, just let me know.
EDIT: My code is now in the patch tracker at patch #6444