Expand description
eitype - A library for typing text using Emulated Input (EI) on Wayland
This library provides a simple interface to connect to an EI server and emulate keyboard input. It supports both portal-based connections (with user authorization) and direct socket connections.
§Example
use eitype::{EiType, EiTypeConfig};
// Connect via portal (will prompt for authorization on first use)
let mut typer = EiType::connect_portal(EiTypeConfig::default()).unwrap();
// Type some text
typer.type_text("Hello, world!").unwrap();
// Press special keys
typer.press_key("Return").unwrap();Structs§
- EiType
- Main interface for typing text via EI protocol
- EiType
Config - Configuration for keyboard layout and typing behavior
Enums§
- Action
- Actions that can be performed
- EiType
Error - Errors that can occur when using eitype