coffee icon indicating copy to clipboard operation
coffee copied to clipboard

Expose more Winit events

Open khionu opened this issue 5 years ago • 1 comments

I'm writing a Virtual Tabletop, and I'd like people to be able to drag assets directly into the window, but this requires a specific event.

khionu avatar Jun 29 '20 02:06 khionu

Hmm, this shouldn't be too hard. It would be good to get some feedback on which events from winit::event::WindowEvent should be exported in coffee::input::window::Event? there's also winit::event which has some useful events, some of which are already hooked to coffee events. since this library is opinionated about some things, not all the events should be exposed, right? but many of them could be without too much trouble. Also what do y'all think about the events handled by winit_input_helper? (i'm pretty new to rust and this library especially, so these are just some thoughts) (@khionu nice profile pic, trans rights!!!!!!!!!)

samuel-weinstein-cs avatar Mar 02 '21 02:03 samuel-weinstein-cs