As WHDLoad does not run on OS4, you probably talk about RunInUAE. In WinUAE by default the cursor keys emulate a joystick. It could be the default for RunInUAE, too. So you probably have to change the UAE config to get the cursor keys to be cursor keys.