Crate ft6x36

Crate ft6x36 

Source
Expand description

Build status Crates.io Docs.rs

§FT6x36 Rust driver

Minimal FT6x36 implementation.

What’s working:

  • Reporting touch event statuses by querying the device

What’s missing:

  • Detecting gestures within the device. I found reports noticing the same problem with C/C++ drivers, so I guess we are missing some information from the datasheet here

Interrupt service handler setup is not provided, as it depends on your platform

§Examples

You can find an example usage in this project: TTGO T-Watch v1 rust example.

§Contributing

This project is open to contributions of any form, do not hesitate to open an issue or a pull-request if you have questions or suggestions.

Structs§

Diagnostics
Dimension
Represents the dimensions of the device
Ft6x36
Driver representation holding:
Ft6x36Info
A structure giving information on the current device
GestureParams
Settings for gesture detection (Currently not working)
ProcessEventConfig
RawTouchEvent
Touch event full raw report
SwipeInfo
TimedRawTouchEvent
TouchPoint

Enums§

ChipId
Enum describing known chips
DeviceMode
Device mode
Direction
GestureId
Known and detected gestures (currently not working though)
Orientation
Represents the orientation of the device
TouchEvent
TouchType
Zoom