processing / processing/processing-website

MouseEvent and KeyEvent references are missing

オープン
#631 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

@yashodipmore がすでに取り組んでいます。

2025年6月16日 から。

主要言語
MDX
スター
90
フォーク
122
平均マージ
1時間 43分
マージ済み PR(30日)
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。