mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-07 11:41:27 +03:00
track pressed keys in input-capture (#170)
move pressed key tracking to input capture
This commit is contained in:
committed by
GitHub
parent
096567640c
commit
266ad28c6b
@@ -5,7 +5,7 @@ use futures_core::Stream;
|
||||
|
||||
use crate::CaptureError;
|
||||
|
||||
use super::InputCapture;
|
||||
use super::Capture;
|
||||
use input_event::Event;
|
||||
|
||||
use super::error::X11InputCaptureCreationError;
|
||||
@@ -20,7 +20,7 @@ impl X11InputCapture {
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl InputCapture for X11InputCapture {
|
||||
impl Capture for X11InputCapture {
|
||||
async fn create(&mut self, _id: CaptureHandle, _pos: Position) -> Result<(), CaptureError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user