diff options
Diffstat (limited to 'src/keys.rs')
-rw-r--r-- | src/keys.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/keys.rs b/src/keys.rs new file mode 100644 index 0000000..6cf28a6 --- /dev/null +++ b/src/keys.rs @@ -0,0 +1,12 @@ +use crate::{error::*, WM}; +use xcb::x::{KeyPressEvent, MappingNotifyEvent}; + +impl WM<'_> { + pub(crate) fn handle_key_press(&mut self, e: KeyPressEvent) -> Result<()> { + todo!() + } + + pub(crate) fn handle_mapping_notify(&mut self, e: MappingNotifyEvent) -> Result<()> { + todo!() + } +} |