Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_GOODIX_TOUCH Struct Reference

#include <goodixtouch.h>

Data Fields

TOUCH_DEVICE touch
I2C_DEVICEi2c
 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.

Field Documentation

◆ touch

TOUCH_DEVICE touch

◆ i2c

I2C_DEVICE* i2c

The I2C device this device is connected to.

◆ address

uint16_t address

The I2C address of the device.

◆ irq

GPIO_INFO irq

The GPIO information for the IRQ line (Optional).

◆ rst

GPIO_INFO rst

The GPIO information for the Reset line (Optional).

◆ maxx

uint16_t maxx

Maximum X value from current configuration.

◆ maxy

uint16_t maxy

Maximum Y value from current configuration.

◆ width

uint16_t width

Screen width value supplied during create.

◆ height

uint16_t height

Screen height value supplied during create.

◆ maxpoints

uint32_t maxpoints

Maximum touch points from current configuration.

◆ lastkeys

uint32_t lastkeys

Keys reported in last input report.

◆ lastpoints

uint32_t lastpoints

Points reported in last input report.

◆ id

char* id

ID String for this device.

◆ version

uint16_t version

Version number for this device.

◆ configaddress

uint16_t configaddress

Configuration data address.

◆ configlength

uint32_t configlength

Configuration data length in bytes.

◆ checksumsize

uint32_t checksumsize

Configuration checksum size.

◆ contactsize

uint32_t contactsize

Size of each contact point coordinate in touch data.

◆ configuration

uint8_t configuration[GOODIX_CONFIG_MAX_LENGTH]

◆ keycodes

uint16_t keycodes[GOODIX_MAX_KEYS]

◆ scancodes

uint16_t scancodes[GOODIX_MAX_KEYS]

◆ swapconfigxy

BOOL swapconfigxy

If True swap the max X and Y values in the configuration.

◆ swapreportxy

BOOL swapreportxy

If True swap the X and Y values in the input report.

◆ invertreportx

BOOL invertreportx

If True invert the X value in the input report.

◆ invertreporty

BOOL invertreporty

If True invert the Y value in the input report.

◆ configfilename

char* configfilename

The configuration filename to load during initialization.

◆ resetcontroller

BOOL resetcontroller

If True reset the controller during initialization.


The documentation for this struct was generated from the following file: