Skip to content

Mouse wheel tilt is not supported (no wheel event) #522

@JohnKlenk

Description

@JohnKlenk

Ultralight does not generate a wheel event when the mouse wheel is tilted. So it is apparently not possible to scroll left/right via javascript by tilting the wheel.

You can see this by adding the following to a page, or just loading the attached html file in the sample browser (which works properly in Chrome, although since Chrome has native support for tilting the wheel the only thing useful there is probably the deltaX logging).

$(document).on("wheel", function (e)
{
   console.log(`e.deltaX=${e.deltaX}, e.deltaY=${e.deltaY}`);
});

Seems related to #303, but in that case it is reported that even deltaY is failing.

Mouse_wheel_tilt_demo.zip

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