Documentation
¶
Overview ¶
Package eis is an EIS server: the receiving end of libei, which remote-desktop clients prefer over the portal's Notify* D-Bus calls. A portal's ConnectToEIS hands the app one end of a socket pair; Serve speaks the ei protocol on the other, advertises a named seat with a pointer and a keyboard, and replays what the client emulates onto a Handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface {
Motion(dx, dy float64)
Button(code uint32, pressed bool)
// Scroll is smooth scrolling in logical pixels.
Scroll(dx, dy float64)
// ScrollDiscrete is wheel scrolling in 120ths of a detent.
ScrollDiscrete(dx, dy int32)
// ScrollStop ends the smooth scrolling on the axes set (the
// fingers lifted); a cancel ends it the same way.
ScrollStop(x, y bool)
Key(code uint32, pressed bool)
Keysym(sym uint32, pressed bool)
}
Handler receives the emulated input.