you need the DoConfig program that comes packaged with the freeware version of Cave Story. put it in the folder with your install of this game and use it to set the controls to your liking.