From a88296abb78b2709c1d3f93e0ac85b1f076d08b8 Mon Sep 17 00:00:00 2001 From: REAS Date: Wed, 22 May 2013 15:56:15 -0700 Subject: [PATCH] Add wheelMouse() to reference --- core/src/processing/core/PApplet.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 388ea6530..44bed52d9 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -3069,10 +3069,19 @@ public class PApplet extends Applet mouseExited(); } - + /** + * @nowebref + */ public void mouseWheel() { } - + /** + * The event.getAmount() method returns negative values if the mouse wheel + * if rotated up or away from the user and positive in the other direction. + * On OS X with "natural" scrolling enabled, the values are opposite. + * + * @webref input:mouse + * @param event the MouseEvent + */ public void mouseWheel(MouseEvent event) { mouseWheel(); }