[−][src]Module sixtyfps_corelib::input
Module handling mouse events
Structs
KeyboardModifier | KeyboardModifier wraps a u32 that has a single bit set to represent
a modifier key such as shift on a keyboard. Convenience constants such as
|
KeyboardModifiers | KeyboardModifiers wraps a u32 that reserves a single bit for each possible modifier key on a keyboard, such as Shift, Control, etc. |
MouseEvent | Structur representing a mouse event |
MouseInputState | The state which a window should hold for the mouse input |
Enums
FocusEvent | This event is sent to a component and items when they receive or loose the keyboard focus. |
InputEventResult | This value is returned by the input handler of a component to notify the run-time about how the event was handled and what the next steps are. |
KeyCode | A key code is a symbolic name for a key on a keyboard. Depending on the key mappings, different keys may produce different key codes. Key codes are typically produced when pressing or releasing a key. |
KeyEvent | Represents a key event sent by the windowing system. |
KeyEventResult | Represents how an item's key_event handler dealt with a key event. An accepted event results in no further event propagation. |
MouseEventType | The type of a MouseEvent |
Constants
ALT_MODIFIER | Convenience constant that indicates the control key being pressed on a keyboard. |
CONTROL_MODIFIER | Convenience constant that indicates the control key being pressed on a keyboard. |
COPY_PASTE_MODIFIER | Convenience constant that is used to detect copy & paste related shortcuts, where on macOS the modifier is the command key (aka LOGO_MODIFIER) and on Linux and Windows it is control. |
LOGO_MODIFIER | Convenience constant that on macOS indicates the command key and on Windows the windows key being pressed on a keyboard. |
NO_MODIFIER | Convenience constant that indicates no modifier key being pressed on a keyboard. |
SHIFT_MODIFIER | Convenience constant that indicates the shift key being pressed on a keyboard. |
Functions
process_mouse_input | Process the |