processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.08k stars 3.22k forks source link

Implemented new variables and methods regarding the mouse events #7073

Open iambiancafonseca opened 4 weeks ago

iambiancafonseca commented 4 weeks ago

Changes: lastButtonPressed; lastButtonReleased; lastButtonClicked; currentButton; mouseInteractions (Array); mouseInteraction (Class); setSizeInteractionsList();

Added other complementary auxiliary variables and methods; Added the correspondent unit tests for the new variables and methods; Added the necessary documentation to further test the new implemented variables and methods.

PR Checklist