#[derive(Debug, Clone, Copy)]
pub enum Key {
Enter,
Backspace,
}
#[derive(Debug, Clone)]
pub enum InputMethodEvent {
Text(String),
AreaChanged(i32, i32, i32, i32),
Key {
key: Key,
pressed: bool
},
ImInitiatedHide,
ActivationLost,
}
#[derive(Debug, Clone, Copy)]
pub enum Orientation {
Portrait = 0,
Landscape = 90,
PortraitFlipped = 180,
LandscapeFlipped = 270,
}