1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! The Linux framebuffer platform of FerroUI: an application without a
//! window system, as one full-screen top-level drawn into a framebuffer
//! device (`/dev/fb0`) or onto a KMS output, with input read from the
//! kernel's input devices.
//!
//! An application starts on it with one of the functions of
//! [`LinuxFramebufferPlatformExtensions`] on its builder, after choosing
//! a renderer:
//!
//! ```ignore
//! let code = AppBuilder::configure::<App>().use_skia().start_linux_fb_dev(&args, None, 1.0, None)?;
//! ```
//!
//! Without an input backend the input is read through `libinput` from
//! every event device (touch, absolute pointers, buttons and the wheel,
//! as the reference: no keys and no relative motion), or, with
//! `FERROUI_USE_EVDEV=1`, from the devices the environment names: one
//! variable `FERROUI_EVDEV_DEVICE_{name}` per device,
//! `(path):type=(touchscreen|multitouch|keyboard|mouse)`, with an optional
//! `:calibration=m11,m12,m21,m22,m31,m32` for the touch screens. The keys
//! of a keyboard are those of a US layout.
//!
//! The design, what is built and what was verified where:
//! `docs/porting/linux-framebuffer-platform.md`. Built: the framebuffer
//! device output with software rendering, the DRM output (a KMS
//! connector drawn with OpenGL through EGL on a GBM surface; `libdrm`,
//! `libgbm` and `libEGL` are opened at run time), the evdev input backend
//! and the `libinput` backend (the default; the library is opened at run
//! time).
//!
//! The parts that are functions of values compile on every Unix system
//! (their tests run on a development machine that is not Linux); what
//! makes Linux system calls is compiled for Linux only. The crate is
//! empty elsewhere.
pub use DrmConnectorType;
pub use DrmOutputOptions;
pub use EpollDispatcherImpl;
pub use FramebufferToplevelImpl;
pub use ;
pub use LinuxFramebufferPlatformOptions;