mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Add wheelMouse() to reference
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user