Skip to main content

Module forwarder

Module forwarder 

Source
Expand description

Virtual uinput device for forwarding and emitting key events. uinput virtual device for event forwarding and emission.

In grab mode, unmatched key events are re-emitted through a virtual device so they reach applications normally.

Note: keyd creates two virtual devices (keyboard + pointer). For now we only need one (keyboard).

Modules§

testingtesting
Test utilities for the forwarder — recording forwarder for assertions.

Structs§

UinputForwarder
Virtual uinput device for forwarding unmatched key events in grab mode.

Traits§

ForwardSink
Sink for forwarding key events through a virtual device.