![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <goodixtouch.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). | |
| 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 from current configuration. | |
| uint32_t | lastkeys |
| Keys reported in last input report. | |
| uint32_t | lastpoints |
| Points reported in last input report. | |
| char * | id |
| ID String for this device. | |
| uint16_t | version |
| Version number for this device. | |
| uint16_t | configaddress |
| Configuration data address. | |
| uint32_t | configlength |
| Configuration data length in bytes. | |
| uint32_t | checksumsize |
| Configuration checksum size. | |
| uint32_t | contactsize |
| Size of each contact point coordinate in touch data. | |
| uint8_t | configuration [GOODIX_CONFIG_MAX_LENGTH] |
| uint16_t | keycodes [GOODIX_MAX_KEYS] |
| uint16_t | scancodes [GOODIX_MAX_KEYS] |
| BOOL | swapconfigxy |
| If True swap the max X and Y values in the configuration. | |
| 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. | |
| char * | configfilename |
| The configuration filename to load during initialization. | |
| BOOL | resetcontroller |
| If True reset the controller during initialization. | |
| 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).
| 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 from current configuration.
| uint32_t lastkeys |
Keys reported in last input report.
| uint32_t lastpoints |
Points reported in last input report.
| char* id |
ID String for this device.
| uint16_t version |
Version number for this device.
| uint16_t configaddress |
Configuration data address.
| uint32_t configlength |
Configuration data length in bytes.
| uint32_t checksumsize |
Configuration checksum size.
| uint32_t contactsize |
Size of each contact point coordinate in touch data.
| uint8_t configuration[GOODIX_CONFIG_MAX_LENGTH] |
| uint16_t keycodes[GOODIX_MAX_KEYS] |
| uint16_t scancodes[GOODIX_MAX_KEYS] |
| BOOL swapconfigxy |
If True swap the max X and Y values in the configuration.
| 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.
| char* configfilename |
The configuration filename to load during initialization.
| BOOL resetcontroller |
If True reset the controller during initialization.