Basically, how do I do it? I go into the options and the input tab and set joystick #1 to use the keyboard and the arrow keys, and it usually doesn't work. How do I properly emulate the joystick using the keyboard? I don't have a real joystick.
Anonymous
User login
Please support the defense of Ukraine.
Direct or via Unclutter App
Active forum topics
Recent content
Navigation
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
I had no problem with this. Joystick 1 is set to keyboard (cursors). I booted AppleWin with no disk, pressed Ctrl-F2 to drop to basic. Typed in the following:
10 ? pdl(0)
20 goto 10
Then ran it. This program constantly reads the X axis of the joystick, so you'll get a whole bunch of 127s. Press and hold left, it should drop to 0. Let go, back to 127. Press and hold right, you get 255s.
Maybe it's the fire button with which I have the problem: I keep trying different buttons on the keyboard and am not able to figure out which button is the fire button: I sometimes am able to find it but don't remember which one it is. :(
Conveniently on Apple II, they mapped the joystick buttons to closed and open Apple keys. Which on AppleWin are left and right alt keys. You can also test this in basic by printing a PEEK(49249) in place of pdl(0) in the above program. When you press the corresponding Apple key, it will jump to a value over 127. PEEK(49250) Is the other button/Apple key.
Thank you. :)