summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Artur Sapek <artur@kraken.com>2022-04-12 22:32:41 -0600
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-10-04 11:15:36 +0200
commit4a3c3e2a18c2277a8213d371eb2c671c12ac238e (patch)
tree168506b72f9682a6fad0bf98f9739c7c517298ce /src
parent388b3c3b331d3f11a4518a0e8779592110be8fb9 (diff)
downloadiced-4a3c3e2a18c2277a8213d371eb2c671c12ac238e.tar.gz
iced-4a3c3e2a18c2277a8213d371eb2c671c12ac238e.tar.bz2
iced-4a3c3e2a18c2277a8213d371eb2c671c12ac238e.zip
expose touch module
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
-rw-r--r--src/touch.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8209952f..b86780f1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -177,6 +177,7 @@ pub mod mouse;
pub mod overlay;
pub mod settings;
pub mod time;
+pub mod touch;
pub mod widget;
pub mod window;
diff --git a/src/touch.rs b/src/touch.rs
new file mode 100644
index 00000000..0b77c386
--- /dev/null
+++ b/src/touch.rs
@@ -0,0 +1,2 @@
+//! Listen and react to touch events.
+pub use crate::runtime::touch::{Event, Finger};