Struct luminance_glfw::Device
[−]
[src]
pub struct Device { pub kbd: Keyboard, pub mouse: Mouse, pub cursor: MouseMove, pub scroll: Scroll, // some fields omitted }
Device object.
Upon window and context creation, this type is used to add interaction and context handling.
Fields
kbd: Keyboard
Keyboard receiver.
mouse: Mouse
Mouse receiver.
cursor: MouseMove
Cursor receiver.
scroll: Scroll
Scroll receiver.