[cln] Code cleanup

This commit is contained in:
2024-03-06 08:18:07 +05:30
parent ed7c6d3e1c
commit abad89d4d0
8 changed files with 15 additions and 22 deletions

View File

@@ -23,10 +23,12 @@ impl SdlKeyboardAdapter {
}
pub fn send_key_up(&self, keycode: u8) -> EmulatorResult<u8> {
log::trace!("Sending Key up {}",keycode);
self.keyboard_event_sender.send(KeyUp(keycode))?;
Ok(keycode)
}
pub fn send_key_down(&self, keycode: u8) -> EmulatorResult<u8> {
log::trace!("Sending Key down {}",keycode);
self.keyboard_event_sender.send(KeyDown(keycode))?;
Ok(keycode)
}