Skip to content

Refactor Bevy_Picking to use MouseButton instead of PointerButton. - #25417

Closed
codecnotsupported wants to merge 2 commits into
bevyengine:mainfrom
codecnotsupported:refactor
Closed

Refactor Bevy_Picking to use MouseButton instead of PointerButton.#25417
codecnotsupported wants to merge 2 commits into
bevyengine:mainfrom
codecnotsupported:refactor

Conversation

@codecnotsupported

Copy link
Copy Markdown
Contributor

Redid #25392 PR due to merge conflicts with #25337.
Also cleaned up the commits fixed the migration guide, should be easier to read.

@NthTensor

Copy link
Copy Markdown
Contributor

Hi! Can you explain why you are proposing this?

The pointer button decomposition is intensional, since it allows for virtual pointers.

@codecnotsupported

Copy link
Copy Markdown
Contributor Author

Hi! Can you explain why you are proposing this?

See #25392

The pointer button decomposition is intensional, since it allows for virtual pointers.

Could you clarify what you mean?
As far as I understood PointerButton was just a MouseButton with fewer buttons.

@cart

cart commented Aug 17, 2026

Copy link
Copy Markdown
Member

Closing this as Pointer is general purpose abstraction, which includes other types of non-mouse pointers like "touch input" and "virtual pointers"

@cart cart closed this Aug 17, 2026
@codecnotsupported
codecnotsupported deleted the refactor branch August 20, 2026 09:29
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.

3 participants