Skip to content

mouseWheel() not working when using FX2D renderer #4169

@biggestpleb

Description

@biggestpleb

When using the FX2D renderer mouseWheel() is not called when the mouse wheel is moved.

void setup() {
  size(100, 100, FX2D);
}

void draw() {} 

void mouseWheel(MouseEvent event) {
  float e = event.getCount();
  println(e);
}

The other mouse functions (mousePressed(), mouseReleased() etc.) all work fine. The above sample code works if the renderer is changed to anything other than FX2D.

(Win 8 64bit)

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