use crate::*;
#[derive(Clone, Copy, Data, Debug, Default, Eq, Hash, New, Ord, PartialEq, PartialOrd)]
pub struct Input;
#[derive(Clone, Data, Debug, New, PartialEq)]
pub struct InputState {
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) keys_pressed: KeyStateSet,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) keys_held: KeyStateSet,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) keys_released: KeyStateSet,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_buttons_pressed: HashSet<MouseButton>,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_buttons_held: HashSet<MouseButton>,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_buttons_released: HashSet<MouseButton>,
#[get(type(copy))]
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_position: Vector2D,
#[get(type(copy))]
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_delta: Vector2D,
#[get(type(copy))]
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) mouse_moved: bool,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) touch_points: TouchPointMap,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) touch_started: HashSet<i32>,
#[get_mut(pub(crate))]
#[new(skip)]
pub(crate) touch_ended: HashSet<i32>,
}