Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joystick API #106

Open
stevesims opened this issue Dec 2, 2024 · 0 comments
Open

Joystick API #106

stevesims opened this issue Dec 2, 2024 · 0 comments
Milestone

Comments

@stevesims
Copy link
Contributor

We have an Agon machine that ships with two 2-button Atari-style joystick ports, the Agon Console8. There are also several interface boards available for other Agon machines that provide joystick ports that at completely compatible with the Console8. It would be good if there was an API in MOS that made reading those ports easy

Ideally a joystick API should allow for future adjustment/augmentation.

To bear in mind here is that there are other options for integrating joysticks and similar interfaces with Agon machines, and we may have other options possible in the future too. There's been a Wii nunchuck interface available for Agon Light 2 machines since long before the Console8 launch. A design exists for connecting joypads with more buttons like a Megadrive controller. (Paddle controllers and mice via a 9-pin port may also be a possibility, although they perhaps would require a different API.) A potential future VDP could perhaps allow USB-based joysticks/joypads to be plugged in and used.

An initial implementation in MOS that only supports Console8 style ports may be an acceptable compromise for now. The API design for getting information on a joystick should, however, be able to work with joysticks of differing capabilities to allow for supporting other interfaces in the future.

(Discussion around providing modular support for other interfaces can be found here: #2 )

@stevesims stevesims added this to the MOS 3 milestone Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant