Skip to content

Fix joypad motion sensors example for C##116241

Merged
Repiteo merged 0 commit intogodotengine:masterfrom
Nintorch:joy-motion-sensors-cs-docs-fix
Feb 17, 2026
Merged

Fix joypad motion sensors example for C##116241
Repiteo merged 0 commit intogodotengine:masterfrom
Nintorch:joy-motion-sensors-cs-docs-fix

Conversation

@Nintorch
Copy link
Contributor

When I was browsing the latest documentation page for Input class I noticed that the object variable for the joypad motion sensors example in Input.start_joy_motion_sensors_calibration() method was highlighted, then I remembered that object is a keyword/builtin type in C#, so it should not be used as a variable name. Oops :D

And signal connection code in the examples in https://docs.godotengine.org/en/latest/classes/class_object.html used (Class).SignalName.(Signal name) syntax, so I decided to use it here too.

@Nintorch Nintorch marked this pull request as ready for review February 13, 2026 08:55
@Nintorch Nintorch requested a review from a team as a code owner February 13, 2026 08:55
Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

Thanks for improving the C# documentation. I missed reviewing this on the original PR, so I also reviewed some of the unchanged code.

@Nintorch
Copy link
Contributor Author

Thank you for your review, raulsntos! I included your suggested changes into the code! :)

@Nintorch Nintorch force-pushed the joy-motion-sensors-cs-docs-fix branch from 3eba9af to 7e2a4f0 Compare February 13, 2026 10:17
Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@Repiteo Repiteo merged commit e0971e6 into godotengine:master Feb 17, 2026
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Feb 17, 2026

Thanks!

@Nintorch Nintorch deleted the joy-motion-sensors-cs-docs-fix branch February 18, 2026 04:08
@akien-mga
Copy link
Member

For the record, GitHub seems bugged out on this merge batch and the PR view shows "0 commits", but the commit which was merged is indeed present in the master branch: 7e2a4f0

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.

5 participants