PistonDevelopers / glutin_window

A Piston window back-end using the Glutin library
MIT License
25 stars 40 forks source link

Capturing glutin events not supported by piston #163

Closed kaikalii closed 5 years ago

kaikalii commented 5 years ago

There are some event types that glutin supports that are not supported by piston, namely glutin::WindowEvent::DroppedFile and glutin::WindowEvent::HoveredFile. I use piston_window to wrap glutin_window, but it would be nice to have access to these events from PistonWindow::next. Would it be possible to pass these events along to a PistonWindow, perhaps through a Event::Custom?

bvssvni commented 5 years ago

Alternative is to add support for these events in Piston, then update glutin_window. PRs are welcome!

kaikalii commented 5 years ago

165 has been merged, so I'm closing this.