ohos_xcomponent_binding/events/
key_event.rs1use crate::{Action, EventSource, KeyCode};
2
3#[derive(Debug, Clone)]
4pub struct KeyEventData {
5 pub code: KeyCode,
6 pub action: Action,
7 pub device_id: i64,
8 pub source: EventSource,
9 pub timestamp: i64,
10}