aboutsummaryrefslogtreecommitdiff
path: root/stockton-input
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-input')
-rw-r--r--stockton-input/src/manager.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/stockton-input/src/manager.rs b/stockton-input/src/manager.rs
index 4d2d001..f0786b0 100644
--- a/stockton-input/src/manager.rs
+++ b/stockton-input/src/manager.rs
@@ -46,5 +46,8 @@ impl Action {
}
pub trait InputManager {
+ type Inputs;
+
fn handle_frame<'a, X: IntoIterator<Item = &'a Action>>(&mut self, actions: X);
+ fn get_inputs(&self) -> &Self::Inputs;
}