cooordinate heper for joypad