embedded-touch
The primary goal of this crate is to provide a common interface for UI libraries like
buoyant to interact with touchscreen input device
drivers (e.g. FT6113).
Features
- Blocking and async interfaces
- Stylus support, including pressure, tilt, and azimuth
- Fixed-point arithmetic by default
- No heap allocation
Usage
Implement the TouchInputDevice trait for blocking operation:
use ;
Or implement AsyncTouchInputDevice for event-driven operation:
use ;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.