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

Fix InputEventAction's is_match method ignoring exact_match parameter #63109

Merged

Conversation

OverloadedOrama
Copy link
Contributor

Fixes #63108.

I tested it on the linked issue's minimal reproduction project and it seems to be working. I haven't tested it for 3.x, but if this PR gets accepted, I will open a new one for 3.x. I am slightly worried about this change because InputEventAction's is_action doesn't take an exact_match parameter at all, but I didn't encounter any issues while testing this.

@OverloadedOrama OverloadedOrama requested a review from a team as a code owner July 17, 2022 14:24
@Calinou Calinou added this to the 4.0 milestone Jul 17, 2022
@Calinou Calinou added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jul 17, 2022
@akien-mga akien-mga merged commit f3d7630 into godotengine:master Sep 25, 2022
@akien-mga
Copy link
Member

Thanks!

@OverloadedOrama
Copy link
Contributor Author

I notice the cherrypick:3.x tag, but is this cherrypickable? input_event.cpp on the master branch is located at core/input, while on the 3.x branch it is located at core/os. I'm asking in case I need to create a separate PR for 3.x. I'd really like to have this fixed for 3.6, or even for 3.5.x.

@akien-mga
Copy link
Member

Yes it should be easy to cherrypick, Git can likely handle the rename fine. If not, it's easy enough to do the change manually when resolving a potential conflict.

@timothyqiu
Copy link
Member

Cherry-picked for 3.6

@timothyqiu timothyqiu removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 12, 2022
@OverloadedOrama OverloadedOrama deleted the fix-input-event-action branch April 21, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputEventAction is_match method ignores exact_match parameter
5 participants