![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <ft5x06touch.h>
Data Fields | |
| TOUCH_DEVICE | touch |
| I2C_DEVICE * | i2c |
| The I2C device this device is connected to. | |
| uint16_t | address |
| The I2C address of the device. | |
| GPIO_INFO | irq |
| The GPIO information for the IRQ line (Optional). | |
| GPIO_INFO | rst |
| The GPIO information for the Reset line (Optional). | |
| TIMER_HANDLE | timer |
| Handle for touch polling timer. | |
| uint16_t | maxx |
| Maximum X value from current configuration. | |
| uint16_t | maxy |
| Maximum Y value from current configuration. | |
| uint16_t | width |
| Screen width value supplied during create. | |
| uint16_t | height |
| Screen height value supplied during create. | |
| uint32_t | maxpoints |
| Maximum touch points for this device. | |
| uint32_t | lastpoints |
| Points reported in last input report. | |
| uint32_t | version |
| Version constant for this device (eg FT5X06_EDT_M06). | |
| char * | modelname |
| Model name string for this device. | |
| char * | firmwareversion |
| Firmware version string for this device. | |
| FT5X06_REGISTERS | registers |
| Register addresses for this device. | |
| FT5X06_PARAMETERS | parameters |
| Configuration parameters for this device. | |
| BOOL | swapreportxy |
| If True swap the X and Y values in the input report. | |
| BOOL | invertreportx |
| If True invert the X value in the input report. | |
| BOOL | invertreporty |
| If True invert the Y value in the input report. | |
| TOUCH_DEVICE touch |
| I2C_DEVICE* i2c |
The I2C device this device is connected to.
| uint16_t address |
The I2C address of the device.
| GPIO_INFO irq |
The GPIO information for the IRQ line (Optional).
| GPIO_INFO rst |
The GPIO information for the Reset line (Optional).
| TIMER_HANDLE timer |
Handle for touch polling timer.
| uint16_t maxx |
Maximum X value from current configuration.
| uint16_t maxy |
Maximum Y value from current configuration.
| uint16_t width |
Screen width value supplied during create.
| uint16_t height |
Screen height value supplied during create.
| uint32_t maxpoints |
Maximum touch points for this device.
| uint32_t lastpoints |
Points reported in last input report.
| uint32_t version |
Version constant for this device (eg FT5X06_EDT_M06).
| char* modelname |
Model name string for this device.
| char* firmwareversion |
Firmware version string for this device.
| FT5X06_REGISTERS registers |
Register addresses for this device.
| FT5X06_PARAMETERS parameters |
Configuration parameters for this device.
| BOOL swapreportxy |
If True swap the X and Y values in the input report.
| BOOL invertreportx |
If True invert the X value in the input report.
| BOOL invertreporty |
If True invert the Y value in the input report.