Skip to content

Customizing Controls: Swapping Mouse Buttons #63

Description

@Friedmonkey

Hello,

I'm currently using this library in a project and would like to enhance its usability. Specifically, I'd prefer if the left and right mouse buttons were swapped for more convenient interaction.

I've explored options within the library but couldn't find a way to achieve this using Blazor3D. Upon attempting to access the bundleModule, I discovered that only a few functions are exported.

In Three.js, there are controls for touches and mouseButtons. Ideally, I would like to set the left mouse button for panning and either disable the right mouse button altogether or set it to rotate while being disabled.

Do you have any suggestions on how I can achieve this or implement it? Additionally, it would be fantastic if such functionality could be incorporated into future updates of the library and its NuGet package.

Thank you for your attention to this matter.

Best regards,
FriedMonkey

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions