Implement keycode translation for windows (#54)

closes #48 
closes #16
This commit is contained in:
Ferdinand Schober
2023-12-18 18:08:10 +01:00
committed by GitHub
parent 6766886377
commit 8de6c9bb87
14 changed files with 828 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
use std::io;
use std::pin::Pin;
use std::task::{Poll, Context};
use std::task::{Context, Poll};
use futures_core::Stream;
@@ -32,10 +32,7 @@ impl EventProducer for DummyProducer {
impl Stream for DummyProducer {
type Item = io::Result<(ClientHandle, Event)>;
fn poll_next(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
) -> Poll<Option<Self::Item>> {
fn poll_next(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
Poll::Pending
}
}