added d-pad support