mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-31 17:10:54 +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
@@ -8,7 +8,7 @@ use input_event::Event;
|
||||
|
||||
use crate::CaptureError;
|
||||
|
||||
use super::{CaptureHandle, InputCapture, Position};
|
||||
use super::{Capture, CaptureHandle, Position};
|
||||
|
||||
pub struct DummyInputCapture {}
|
||||
|
||||
@@ -25,7 +25,7 @@ impl Default for DummyInputCapture {
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl InputCapture for DummyInputCapture {
|
||||
impl Capture for DummyInputCapture {
|
||||
async fn create(&mut self, _handle: CaptureHandle, _pos: Position) -> Result<(), CaptureError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user