keyPressed and keyReleased with java(eclipse)

no , works here
can you put in some prints?

37 1
[0] true
[1] false
37 2
[0] false
[1] false
37 3
39 1
[0] false
[1] true
39 2
[0] false
[1] false
39 3

i used

    if ( button > 0 ) println(button, buttonID);

and

    println(mouses);

1 Like

i found what’s wrong, i forgot to put

pa.registerMethod("mouseEvent", this);

sorry for my bad post

3 Likes