mouseDX
Input / MouseDescription
Accumulated horizontal mouse delta since the last frame. Updated on every raw cursor event, reset to 0 after draw(). Use this instead of mouseX-pmouseX for high-frequency input like FPS camera control.
Syntax
mouseDX
Parameters
None
Returns
floatRelated
Under the Hood
From Processing.h:
float mouseDX = 0, mouseDY = 0;
Under the Hood
From Processing.cpp:
mouseDX = 0;
mouseDX=0;