1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#[cfg(feature = "input")]
use crate::input::scan::SCANNED;
#[cfg(feature = "input")]
use once_cell::sync::Lazy;
pub const DISPLAYWIDTH: u16 = 1404;
pub const DISPLAYHEIGHT: u16 = 1872;
#[cfg(feature = "input")]
pub static MTWIDTH: Lazy<u16> = Lazy::new(|| SCANNED.mt_width);
#[cfg(feature = "input")]
pub static MTHEIGHT: Lazy<u16> = Lazy::new(|| SCANNED.mt_height);
#[cfg(feature = "input")]
pub static WACOMWIDTH: Lazy<u16> = Lazy::new(|| SCANNED.wacom_width);
#[cfg(feature = "input")]
pub static WACOMHEIGHT: Lazy<u16> = Lazy::new(|| SCANNED.wacom_height);