Generic type for a touch driver. More...
Generic type for a touch driver.
Definition at line 47 of file touch_dev.h.
#include <touch_dev.h>
Data Fields | |
uint16_t(* | height )(const touch_dev_t *dev) |
Get the height of the touch device. More... | |
uint16_t(* | width )(const touch_dev_t *dev) |
Get the width of the touch device. More... | |
uint8_t(* | touches )(const touch_dev_t *dev, touch_t *touches, size_t len) |
Get the current touches on the touch device. More... | |
uint16_t(* touch_dev_driver_t::height) (const touch_dev_t *dev) |
Get the height of the touch device.
[in] | dev | Pointer to the touch device |
Definition at line 56 of file touch_dev.h.
uint8_t(* touch_dev_driver_t::touches) (const touch_dev_t *dev, touch_t *touches, size_t len) |
Get the current touches on the touch device.
If touches
is NULL, this function only returns the number of touches.
[in] | dev | Pointer to the touch device |
[out] | touches | The array of touches |
[in] | len | The touches array len |
Definition at line 77 of file touch_dev.h.
uint16_t(* touch_dev_driver_t::width) (const touch_dev_t *dev) |
Get the width of the touch device.
[in] | dev | Pointer to the touch device |
Definition at line 65 of file touch_dev.h.