Skip to main content

read_devices

Function read_devices 

Source
fn read_devices(
    socket_path: &str,
) -> Result<(Connection, EventQueue<KdeOutState>, KdeOutState), String>
Expand description

Connect to socket_path and read the output-device globals to a settled state: one round-trip announces them, a second delivers their events.