Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Event Press vs Hold #439

@Cullen-Enerdyne

Description

@Cullen-Enerdyne

Currently we have event types EventType_MousePress and EventType_MouseRelease, as well as EventType_KeyPress and EventType_KeyRelease.

It is unclear, however, what is set during a mouse hold. Is the 'press' true the whole time the button is depressed, or is this only true on the press? Additionally, is the release true whenever the key is not depressed, or is this set once on release and then back to false?

My current assumption is that these are only set true on state changes (i.e. both normally false, and both false during a hold).

If this is not the case, we need to be able to differentiate between all these events somehow.
The current API also needs some more clarity.

Metadata

Metadata

Assignees

Labels

EventsIssues related to the event system

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions