added dpad code

from http://www.emanueleferonato.com/2013/11/27/add-a-virtual-pad-to-play-your-hml5-games-made-with-puzzlescript-on-mobile-devices/