1use crate::resource::InputController;
2use core::ecs::{System, Write};
3
4pub struct InputSystem;
5
6impl<'s> System<'s> for InputSystem {
7 type SystemData = Write<'s, InputController>;
8
9 fn run(&mut self, mut input: Self::SystemData) {
10 (&mut input).process();
11 }
12}