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

Make global instances of gamepad #7

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

ion098
Copy link
Collaborator

@ion098 ion098 commented May 29, 2024

Right now users can make multiple instances of a controller, but they'll run into issues with text printing. This PR fixes that by creating global instances of the master and partner controllers and hiding the constructors for the controller.

Download the template for this pull request:

Note

This is auto generated from Add Template to Pull Request

curl -o gamepad@0.0.1+199709.zip https://nightly.link/LemLib/Gamepad/actions/artifacts/1722175584.zip;
pros c fetch gamepad@0.0.1+199709.zip;
pros c apply gamepad@0.0.1+199709;
rm gamepad@0.0.1+199709.zip;

@ion098 ion098 marked this pull request as ready for review May 29, 2024 17:17
@ion098 ion098 requested a review from Aang099 May 29, 2024 17:17
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.

None yet

1 participant