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
#![feature(integer_atomics)]
#![feature(const_size_of)]

#[macro_use]
extern crate log;

#[macro_use]
extern crate ioctl_gen;

extern crate aabb_quadtree;
extern crate hlua;
extern crate libc;
extern crate mmap;
extern crate rusttype;
extern crate zstd;

pub extern crate epoll;
pub extern crate evdev;
pub extern crate image;
pub extern crate line_drawing;

/// One of the core components, allowing output and refresh of the EInk display
pub mod framebuffer;

/// The other core component, allowing decoding of the three input devices present on the tablet
pub mod input;

/// Simple battery and charging status provider
pub mod battery;

/// Contains the `ApplicationContext`, which is a general framework that can be used to either build
/// your application or design your I/O code after. It uses rudimentary UI elements and adds them
/// to a scene after wrapping them in `UIElementWrapper`. None of these are mandatory to be used.
/// You can choose to entirely ignore the `ApplicationContext` and `ui_extensions` and interact
/// with the `framebuffer` and `input` devices directly.
pub mod appctx;
pub mod ui_extensions;