mtouch_driver_params

Touch driver parameters.

Synopsis:

typedef struct mtouch_driver_params {
    _Uint32t capabilities ;
    _Uint32t flags ;
    _Uint8t max_touchpoints ;
    _Uint32t width ;
    _Uint32t height ;
    char vendor [MTOUCH_PARAMS_VENDOR_SZ];
    char product_id [MTOUCH_PARAMS_PRODUCT_ID_SZ];
    char sensor_id [MTOUCH_PARAMS_SENSOR_ID_SZ];
    _Uint32t sensor_sz_x ;
    _Uint32t sensor_sz_y ;
    _Uint32t max_refresh ;
}mtouch_driver_params_t;

Data:

_Uint32t 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
_Uint32t flags
Device flags.
Valid flags are:
  • MTOUCH_FLAGS_INCONSISTENT_DIGIT_ORDER
  • MTOUCH_FLAGS_INCONSISTENT_CONTACT_IDS
_Uint8t max_touchpoints
The maximum number of touchpoints supported by the driver.
_Uint32t width
The width, in touch units, of the touch area.
_Uint32t height
The height, in touch units, of the touch area.
char vendor[MTOUCH_PARAMS_VENDOR_SZ]
Internal use only.
char product_id[MTOUCH_PARAMS_PRODUCT_ID_SZ]
Internal use only.
char sensor_id[MTOUCH_PARAMS_SENSOR_ID_SZ]
Internal use only.
_Uint32t sensor_sz_x
Internal use only.
_Uint32t sensor_sz_y
Internal use only.
_Uint32t max_refresh
Internal use only.

Library:

libinputevents

Description: