Skip to content

Use piston::input::Input as the Raw event type rather than piston::input::Event #820

Closed
@mitchmindtree

Description

@mitchmindtree

Conrod only needs to know about the Input events, the other of the piston::input::Event variants (Render, AfterRender, Update, Idle) are not used.

I think the Render variant is currently used to get the initial window dimensions, however this is a little hacky and I think we'd be better off requiring that conrod is constructed with some initial window size and then monitors the Input::Resize event for changes to window size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions