Rename "Down" input methods for clarity from "Pressed" (e.g. IsKeyDown, IsMouseButtonDown etc.)
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Is your feature request related to a problem? Please describe.
It is difficult to keep straight which behavior the "Down" and "Pressed" input methods perform.
Describe the solution you'd like
Rename all occrances of Down to Held in the input related classes/interfaces/structs.
And mark existing public members that use Down in their name as obsolete.
Additional context
Considered renaming to Pressing instead of Held, but it would be the reverse of how events are normally called. Normally it is Loading > Loaded, so having Pressed > Pressing I feel adds more confusion. And Pressed > Held > Releases feels intutive to me. Open to other name ideas though.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the input-related classes, interfaces, and structs and inventory public members containing "Down"; the work is complete when those APIs have corresponding "Held" names and the existing public "Down" members are marked obsolete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100