processing / processing/processing-website
MouseEvent and KeyEvent references are missing
@yashodipmore 已经在做这个了。
开始于 2025年6月16日。
- 主要语言
- MDX
- 星标
- 90
- 派生
- 122
- 平均合并
- 1 小时 43 分钟
- 30 天内合并 PR
- 3
描述
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。