kiwmi/src/input/input_manager.rs

9 lines
232 B
Rust
Raw Normal View History

2019-01-09 10:10:55 +01:00
use crate::input::Keyboard;
use wlroots::input;
pub fn input_manager() -> input::manager::Builder {
input::manager::Builder::default()
.keyboard_added(|_compositor_handle, _keyboard_handle| Some(Box::new(Keyboard)))
}