Skip to content

Fix: support multi-input for BaseButton with Alt + Click - #118653

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
Alex2782:fix_multi_input
May 14, 2026
Merged

Fix: support multi-input for BaseButton with Alt + Click#118653
Repiteo merged 1 commit into
godotengine:masterfrom
Alex2782:fix_multi_input

Conversation

@Alex2782

@Alex2782 Alex2782 commented Apr 16, 2026

Copy link
Copy Markdown
Member

Fixes #118640

Follow up: #110893

After about 30 minutes of testing, I see no reason to prevent this with multitouch.

	if (p_event->get_device() != status.device_id) {
		return;
	}

Test project: multi_input.zip

Tests on Android with BT keyboard and BT mouse

Keyboard Ctrl + Multitouch
Bildschirmfoto 2026-04-16 um 19 17 50


Keyboard Alt / Shift / Ctrl + Mouse Click

Bildschirmfoto 2026-04-16 um 19 21 48

@Alex2782 Alex2782 added this to the 4.7 milestone Apr 16, 2026
@Alex2782
Alex2782 requested a review from a team April 16, 2026 17:26
@Alex2782
Alex2782 requested a review from a team as a code owner April 16, 2026 17:26
@Alexofp

Alexofp commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Tried this fix, the problem went away. Thank you

@akien-mga
akien-mga requested a review from a team April 21, 2026 12:47

@Repiteo Repiteo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Repiteo
Repiteo merged commit d58cd48 into godotengine:master May 14, 2026
20 checks passed
@Repiteo

Repiteo commented May 14, 2026

Copy link
Copy Markdown
Contributor

Thanks!

@Alex2782
Alex2782 deleted the fix_multi_input branch May 15, 2026 14:31
BendyLand pushed a commit to BendyLand/voltaire that referenced this pull request Aug 2, 2026
Fix: support multi-input for `BaseButton` with Alt + Click
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.

Clicking any Button control while holding ALT gets ignored sometimes

4 participants