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

Update buttonmap/topology for original Atari controllers #7

Merged
merged 3 commits into from
May 2, 2024

Conversation

garbear
Copy link
Member

@garbear garbear commented Feb 4, 2024

Description

This PR updates the buttonmap and topology (added in #5) to use the Atari 2600 and Atari 5200 controllers of the original console.

I also added an Atari 800 controller and updated the Atari 5200 controller in kodi-game/controller-topology-project#292:

  • For the Atari 800 controller, I copied the Atari 2600 controller and modified the layout to reflect the buttonmap expected by atari800.
  • For the Atari 5200 controller, I updated the layout to the buttonmap expected by atari800

Data comes from sources:

How has this been tested?

Testing in progress.

Data comes from source https://github.com/libretro/libretro-atari800/blob/master/libretro/core-mapper.c

  mouse_wu   = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_WHEELUP);
  mouse_wd   = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_WHEELDOWN);
  mouse_x    = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_X);
  mouse_y    = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_Y);
  mouse_l    = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_LEFT);
  mouse_r    = input_state_cb(0, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_RIGHT);
@garbear garbear mentioned this pull request Feb 4, 2024
@garbear
Copy link
Member Author

garbear commented May 2, 2024

Merging to reduce technical debt of getting stuff into my test builds, and also makes it easier for non-retroplayer builds to test the atari buttonmaps.

@garbear garbear merged commit 2c0ad57 into master May 2, 2024
1 check passed
@garbear garbear deleted the atari-buttonmap branch May 2, 2024 05:43
@garbear
Copy link
Member Author

garbear commented May 2, 2024

Tracking issue: kodi-game/controller-topology-project#303

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

Successfully merging this pull request may close these issues.

1 participant