Module events

Source
Expand description

Events data.

Modules§

file
keyboard
mouse
pointer
touch
wheel

Structs§

FileData
Data of a Keyboard event.
KeyboardData
Data of a Keyboard event.
Modifiers
Pressed modifier keys.
MouseData
Data of a Mouse event.
PointerData
Data of a Mouse event.
TouchData
Data of a Touch event.
WheelData
Data of a Wheel event.

Enums§

Code
Code is the physical position of a key.
Force
Describes the force of a touch event
Key
Key represents the meaning of a keypress.
MouseButton
Describes a button of a mouse controller.
PointerType
The type of device that triggered a Pointer event.
TouchPhase
Describes touch-screen input state.

Functions§

map_winit_key
Return the equivalent Winit’s Key in keyboard_types
map_winit_modifiers
map_winit_physical_key
Return the equivalent of Winit’s PhysicalKey in keyboard_types

Type Aliases§

KeyboardEvent
MouseEvent
PointerEvent
TouchEvent
WheelEvent