mtouch_driver_params

Updated: October 26, 2022

Touch driver parameters

Synopsis:

#include <input/>
typedef struct mtouch_driver_params {
    uint32_t capabilities;
    uint32_t flags;
    uint8_t max_touchpoints;
    uint32_t width;
    uint32_t height;
} mtouch_driver_params_t;

Data:

uint32_t capabilities
The capabilities supported by the driver.
Valid capabilities are:
  • MTOUCH_CAPABILITIES_CONTACT_ID
  • MTOUCH_CAPABILITIES_COORDS
  • MTOUCH_CAPABILITIES_CONTACT_COUNT
  • MTOUCH_CAPABILITIES_WIDTH
  • MTOUCH_CAPABILITIES_HEIGHT
  • MTOUCH_CAPABILITIES_ORIENTATION
  • MTOUCH_CAPABILITIES_PRESSURE
  • MTOUCH_CAPABILITIES_RATE_SET
  • MTOUCH_CAPABILITIES_SEQ_ID
  • MTOUCH_CAPABILITIES_CONTACT_TYPE
  • MTOUCH_CAPABILITIES_SELECT
uint32_t flags
Device flags.
Valid flags are:
  • MTOUCH_FLAGS_INCONSISTENT_DIGIT_ORDER
  • MTOUCH_FLAGS_INCONSISTENT_CONTACT_IDS
uint8_t max_touchpoints
The maximum number of touchpoints supported by the driver.
uint32_t width
The width, in touch units, of the touch area.
uint32_t height
The height, in touch units, of the touch area.

Library:

libinputevents