diff src/state.rs @ 12:d43c31aff57c

Split uinput helpers into another module.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 01 Nov 2020 16:01:00 +0100
parents 0193041f01d4
children 97e543f50f62
line wrap: on
line diff
--- a/src/state.rs
+++ b/src/state.rs
@@ -17,8 +17,9 @@
 use std::fs::File;
 use std::sync::{Arc, Mutex};
 
-use crate::{create_uinput_device, WIDTH, HEIGHT, input_axis_new, input_misc_new, input_key_new, input_synchronize_new, MAX_X, MAX_Y};
 use input_linux::{AbsoluteAxis, Key, MiscKind, SynchronizeKind, UInputHandle};
+use crate::{WIDTH, HEIGHT, MAX_X, MAX_Y};
+use crate::uinput::{create_uinput_device, input_axis_new, input_misc_new, input_key_new, input_synchronize_new};
 
 pub struct State {
     dev: UInputHandle<File>,