StructsΒ§
- Button
Click πState - A data structure used for tracking the state of a particular mouse buttonβs clicks. This is used to determine when to fire click events and for click counting. Click counts can be reset to 0 if a mouse button event happens at a sufficient distance or time from the previous one.
- Document
Event πHandler - The
DocumentEventHandleris a structure responsible for handling input events for the [crate::Document] and storing data related to event handling. It exists to decrease the size of the [crate::Document] structure. - Mouse
Click πTracker
FunctionsΒ§
- character_
to_ πcode - keyboard_
event_ πfires_ keypress_ event - Whether a given
EmbedderKeyboardEventshould trigger akeypressevent.