Skip to content

Distinguish between mouse and trackpad MouseWheel events #4315

@liamaharon

Description

@liamaharon

It would be helpful to tell whether MouseWheel events originated from a trackpad or mouse: johanhelsing/bevy_pancam#81 (comment)

This SO post seems to indicate it can be detected based on the NSEvent subtype, so there might be a potential path, at least on MacOS.

Maybe someone here knows if this is a possibility, and if so what a path forward might look like?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - appkitAffects the AppKit/macOS backendS - enhancementWouldn't this be the coolest?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions