summaryrefslogtreecommitdiff
path: root/engine/src/input.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-24 22:20:27 +0100
committerHampusM <hampus@hampusmat.com>2024-11-24 22:20:27 +0100
commit1bc47aff63fdd81c3ddf1e2c2a718fc5d5330fed (patch)
treed5028bf5bcccd2b6a78d60bcc68091b958f98faf /engine/src/input.rs
parent09b9f3c1cbd93c75b2fe69257b278ad3f993adf4 (diff)
refactor(engine): remove reexports of glfw crate items
Diffstat (limited to 'engine/src/input.rs')
-rw-r--r--engine/src/input.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/engine/src/input.rs b/engine/src/input.rs
index 04e5263..e847702 100644
--- a/engine/src/input.rs
+++ b/engine/src/input.rs
@@ -68,10 +68,6 @@ impl Keys
pub fn set_key_state(&mut self, key: Key, new_key_state: KeyState)
{
- if matches!(new_key_state, KeyState::Repeat) {
- return;
- }
-
let Some(key_data) = self.map.get_mut(&key) else {
unreachable!();
};