event work + mulling over sprite containers and event notification
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
use winit::window::WindowId;
|
||||
use winit::event::{WindowEvent, DeviceId, DeviceEvent};
|
||||
use winit::event::{WindowEvent, DeviceId, DeviceEvent, KeyboardInput, ModifiersState, MouseScrollDelta, TouchPhase, ElementState, MouseButton, AxisId, Touch};
|
||||
use std::path::PathBuf;
|
||||
use winit::dpi::{PhysicalPosition, PhysicalSize};
|
||||
use gilrs::Event as GilEvent;
|
||||
|
||||
enum TrEvent {
|
||||
pub enum TrEvent {
|
||||
MouseHeldEvent {
|
||||
|
||||
// WindowEvent {
|
||||
// window_id: WindowId,
|
||||
// event: WindowEvent<'a>,
|
||||
// },
|
||||
|
||||
/// Emitted when the OS sends an event to a device.
|
||||
DeviceEvent {
|
||||
device_id: DeviceId,
|
||||
event: DeviceEvent,
|
||||
},
|
||||
KeyHeldEvent {
|
||||
|
||||
},
|
||||
GamepadEvent {
|
||||
gil_event: GilEvent,
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user