PistonDevelopers / piston

A modular game engine written in Rust

Home Page:https://www.piston.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poll `Event` instead of `Input` from `Window`

bvssvni opened this issue · comments

Alternative to #1323

This is easier to implement since one can use Serde's derive traits.

It also makes the Window trait simpler, since time stamps are internal in Event.

This alternative does not require changes to pistoncore-input, which will break less code.