yarn
yarn copied to clipboard
[Issue] - Rename input and event mapping classes for clarity.
This pull request refactors input event class names and updates their usage throughout the codebase to improve clarity and consistency. The main changes involve renaming several input-related classes and updating method and target references to match the new names. These updates help make the codebase easier to understand and maintain by using more descriptive event names.
Input event class renames and updates:
- Renamed
AbstractInputtoInputEvent,CharInputtoTextInputEvent,KeyInputtoKeyboardEvent, andMouseInputtoMouseButtonEventin their respective mapping files. [1] [2] [3] [4] [5] - Updated method and target references in unpick definition files to use the new class names (
KeyboardEvent,MouseButtonEvent,InputEvent, etc.) instead of the old names. [1] [2] [3] [4]
GUI event mapping improvements:
- Moved the
Clickclass and itsbutton()method toPointerEventto better reflect its purpose and usage. [1] [2]
Mouse event method renaming:
- Renamed the
modifyMouseInputmethod in theMouseclass tomodifyMouseButtonEventfor clarity.