some fixes for mouse button problems (issue 1350, issue 1373)

This commit is contained in:
benfry
2012-11-13 13:12:50 +00:00
parent 0cb1aa0209
commit 4b33f00ecd
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -2523,9 +2523,9 @@ public class PApplet extends Applet
break;
}
System.out.println(nativeEvent);
//System.out.println(nativeEvent);
//int modifiers = nativeEvent.getModifiersEx();
// If using getModifiersEx(), the regular modifiers don't set properly.
int modifiers = nativeEvent.getModifiers();
int peModifiers = modifiers &