processing / processing/processing-website
MouseEvent and KeyEvent references are missing
@yashodipmore ci sta già lavorando.
Dal 16/6/2025.
- Lingua principale
- MDX
- Stelle
- 90
- Fork
- 122
- Merge medio
- 1h 43m
- PR unite (30g)
- 3
Descrizione
Select the type of content error.
Other content error (please specify)
Section
Reference
Location of the error
https://processing.org/reference/mouseWheel_.html
Describe the error
There are no reference sections for MouseEvent and KeyEvent.
All mouse*() key*() methods accept such an object, but most reference pages for these methods have no examples for it (one exception: https://processing.org/reference/mouseWheel_.html).
Suggested correction
Suggestion 1:
-
Add reference pages for these classes.
-
Add a few examples of their use.
Suggestion 2:
-
describe that for all practical end-user scenarios the global variables (like mouseX, mousePressed, key, keyCode, etc.) contain all necessary information; in that case, I would suggest to even remove the methods taking an event from the documentation.
-
mouseWheel() could be exception: the getCount() method is not backed by a global.
Language
EN
Screenshots or references
No response
Additional context
No response
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.