The typical Apple II joystick appears to the computer as a pair of analog game
paddles and two buttons. The easiest way to read the joystick position
is from Applesoft BASIC, using PDL(n). The process is detailed in this
post. The joystick
X axis is PDL(0), the Y axis is PDL(1).
You can do much better with a custom routine. The reason for this requires
After hours and hours of reading forums, installing different drivers and emulators, I managed to get it running on Windows7 64Bits and try it in PlanetSide2... Finally I can fly aircraft!!! :D
The solution is to install WinWiner and vJoy. I leave you with an explanatory video. A link to the download is in the description. Greetings
Address 65280 (Hex &FF00) is the I/O port on the CoCo for the joystick and the keyboard row input. It is the case that the lower 2 bits are assigned to the left and right joystick buttons. Bit 7 is associated with the joystick direction, which is why it can be either 0 OR 1 while a button is pressed. So, your proposed approach is correct.
One prominent example is the "homebrew" EPROM burner Tiny Eprommer, originally published 1984 in 64'er Magazine, Special Issue #84. (People are still building/using this device; it's often seen on fx eBay as both kit or assembled product.)
The main board is attached to the user port but as the device needs more GPIO than what the user port provides,...
There are a few options still readily available; one is the 2600-daptor, which supports many 9-pin devices (not just 2600 joysticks and paddles). Another, more expensive, one is the Bliss Box which supports many different controllers and connectors (with adapter cables).
You can also build your own, using for example the Stelladaptor schematics and BOM.
I don't know how the New C64 implements USB HID, so I can't guarantee compatibility, but here are the options I'm aware of:
Stepstick.pl appears to still be selling C64-to-USB adapters if you want something pre-assembled. (They sell two products, but I couldn't figure out how to set the "English, please" cookie without linking to a specific ...