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

Create an argument for functions that set buttons that does not automatically default to false #49

Open
ximk opened this issue May 5, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers P3 Priority: Low python Issues relating to Python
Milestone

Comments

@ximk
Copy link
Member

ximk commented May 5, 2023

Currently, setting buttons/sticks through these functions causes all the items in the dictionary that are not specified to default to False (buttons) / neutral (sticks). This can be a massive headache for script writers when the script is only designed to modify one or two values. There is a workaround, but it is messy, and ideally we would simplify the process.

@ximk ximk added enhancement New feature or request good first issue Good for newcomers python Issues relating to Python P3 Priority: Low labels May 5, 2023
@ximk ximk added this to the 1.0 milestone May 5, 2023
@vabold
Copy link
Member

vabold commented May 6, 2023

Before doing this, we should ensure that the dict is initialized before diff calls like this are allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers P3 Priority: Low python Issues relating to Python
Projects
None yet
Development

No branches or pull requests

2 participants