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

Improve Event Controllers #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gjask
Copy link

@gjask gjask commented Jun 24, 2024

I've originally just wanted to remove global variable tracking control key state. It is tad bit quirky and seems like a bad practice.

It was supposed to be a small fix to use get_current_event_state() directly in GestureClick controller instead of global variable. What I didn't notice at first was that the example was showcasing EventControllerKey which would be completely removed by this "fix". So in the end I needed to do both fix mouse button events with key modifiers and come up with new show case for EventControllerKey.

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