FX2D mouseWheel don't work

Hi, today I find this strange behavior: when in the comand size() I set the render mode FX2D the function mouseWheel don’t recognize the count of wheel.

This Example Work fine

void setup() {
  size(100, 100); // basic comand size()
}
void draw() {
} 

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

Now I put the render mode FX2D and the mouseWheel don’t work:

void setup() {
  size(100, 100,FX2D); // comand size with render mode FX2D
} 
void draw() {
} 

void mouseWheel(MouseEvent event) {
  float e = event.getCount(); // getCount not recognize the wheel count
  println(e);
}

in this last case the local variable event stay always at value 0.0

It’s a normal action?

Thanks…

1 Like

you need to give much more information!

here: win 7 / 64bit // processing ide 3.5.3 64bit / OK

also i found:

1 Like

Hi Kll, my system is:
Win10 / 64bit / processing ide 3.5.3 64bit

unfortunately on my system don’t work.
But thanks of You I understand that the problem are on my system,
it’s a good place to start…

1 Like