input_pipeline/
lib.rs

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
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#[macro_use]
mod testing_utilities;
mod fake_input_device_binding;
mod mouse_model_database;
mod observe_fake_events_input_handler;
mod utils;

pub mod consumer_controls_binding;
pub mod input_device;
pub mod keyboard_binding;
pub mod mouse_binding;
pub mod touch_binding;

pub mod autorepeater;
pub mod chromebook_keyboard_handler;
pub mod dead_keys_handler;
pub mod display_ownership;
pub mod factory_reset_handler;
pub mod ime_handler;
pub mod input_handler;
pub mod inspect_handler;
pub mod keymap_handler;
pub mod light_sensor;
pub use light_sensor::{light_sensor_binding, light_sensor_handler};
pub mod media_buttons_handler;
pub mod modifier_handler;
pub mod mouse_injector_handler;
pub mod pointer_display_scale_handler;
pub mod pointer_sensor_scale_handler;
pub mod text_settings_handler;
pub mod touch_injector_handler;

#[cfg(fuchsia_api_level_at_least = "HEAD")]
pub mod activity;

// The following imports prevent unused crate errors when building at a stable API level
// that is not HEAD.
use {fidl_fuchsia_input_interaction as _, fidl_fuchsia_power_system as _};

pub mod focus_listener;
pub mod gestures;
pub mod input_pipeline;
pub mod metrics;

pub use gestures::make_touchpad_gestures_handler;
pub use utils::{CursorMessage, Position, Size};