MouseEvent and KeyEvent references are missing
@yashodipmore đang làm issue này rồi.
Từ ngày 16/6/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- MDX
- Star
- 90
- Fork
- 122
- Merge trung bình
- 1 giờ 43 phút
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của processing/processing-website
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
processing/processing-website#716 ·
-
Missing isLooping documentation Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
processing/processing-website#703 ·
-
Good First Issue Help Wanted Reference
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
processing/processing-website#698 · 5 bình luận · 1 reaction ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
processing/processing-website#681 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
processing/processing-website#646 · 3 bình luận ·