parent
0cce359c28
commit
55899f26ad
@ -0,0 +1,18 @@
|
|||||||
|
use winit::window::WindowId;
|
||||||
|
use winit::event::{WindowEvent, DeviceId, DeviceEvent};
|
||||||
|
|
||||||
|
enum TrEvent {
|
||||||
|
|
||||||
|
// WindowEvent {
|
||||||
|
// window_id: WindowId,
|
||||||
|
// event: WindowEvent<'a>,
|
||||||
|
// },
|
||||||
|
|
||||||
|
/// Emitted when the OS sends an event to a device.
|
||||||
|
DeviceEvent {
|
||||||
|
device_id: DeviceId,
|
||||||
|
event: DeviceEvent,
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue