Hey lots of requests for something like this I think, so here's my attempt (modified from another multi-touch example somewhere on this forum) I have only included Left / Right + 2 fire buttons, but it is dead easy to include 4 way d-pad with this example, just a bit of copy+paste. Works perfectly.
D-Pad Example.zip