diff --git a/espanso/src/engine/event/mod.rs b/espanso/src/engine/event/mod.rs
index 7af62dc..55956c1 100644
--- a/espanso/src/engine/event/mod.rs
+++ b/espanso/src/engine/event/mod.rs
@@ -17,7 +17,6 @@
* along with espanso. If not, see .
*/
-pub mod text;
pub mod input;
pub mod effect;
pub mod internal;
diff --git a/espanso/src/engine/event/text.rs b/espanso/src/engine/event/text.rs
deleted file mode 100644
index 139e2de..0000000
--- a/espanso/src/engine/event/text.rs
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * This file is part of espanso.
- *
- * Copyright (C) 2019-2021 Federico Terzi
- *
- * espanso is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * espanso is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with espanso. If not, see .
- */
-
-#[derive(Debug, Clone)]
-pub struct TextInjectRequest {
- pub text: String,
- pub force_mode: Option,
-}
-
-#[derive(Debug, PartialEq, Clone)]
-pub enum TextInjectMode {
- Keys,
- Clipboard,
-}
-
diff --git a/espanso/src/engine/process/middleware/cause.rs b/espanso/src/engine/process/middleware/cause.rs
index 17adc94..1f1f007 100644
--- a/espanso/src/engine/process/middleware/cause.rs
+++ b/espanso/src/engine/process/middleware/cause.rs
@@ -24,7 +24,6 @@ use crate::engine::{
effect::TriggerCompensationEvent,
input::{Key, KeySequenceInjectRequest},
internal::CauseCompensatedMatchEvent,
- text::{TextInjectMode, TextInjectRequest},
Event,
},
};
diff --git a/espanso/src/engine/process/middleware/cursor_hint.rs b/espanso/src/engine/process/middleware/cursor_hint.rs
index f177941..bda1544 100644
--- a/espanso/src/engine/process/middleware/cursor_hint.rs
+++ b/espanso/src/engine/process/middleware/cursor_hint.rs
@@ -18,7 +18,7 @@
*/
use super::super::Middleware;
-use crate::engine::{dispatch::Mode, event::{Event, effect::CursorHintCompensationEvent, input::{Key, KeySequenceInjectRequest}, internal::RenderedEvent, text::{TextInjectMode, TextInjectRequest}}};
+use crate::engine::{dispatch::Mode, event::{Event, effect::CursorHintCompensationEvent, input::{Key}, internal::RenderedEvent}};
pub struct CursorHintMiddleware {}