Developer

API Reference

IObserver_SetMaxTapYDif()

Brew Release
Brew MP 1.0.2
See Also
- IObserver
- IObserver_SetPropertyEx
- IObserver_GetMaxTapYDif
- IObserver_SetMaxTapXDif
- IObserver_GetMaxTapXDif
- AEECLSID_TouchObserver
Description
MaxTapXDif indicates maximum distance in y-coordinate between EVT_POINTER_DOWN and EVT_POINTER_UP event. This function is used to set the maximum distance in y-coordinate between EVT_POINTER_DOWN and EVT_POINTER_UP event. This is one of the criteria to be satisfied for single tap detection. This can be used in conjunction with the max tap distance; when either of the criteria is met, it will count as a tap.
Parameters
  • pif
    []:
    [in] Pointer to the IObserver interface object.
  • nMaxTapYDif
    []:
    [in] MaxTapYDif value to be set.
Interface
Prototype
   int IObserver_SetMaxTapYDif(IObserver *pif, int nMaxTapYDif);
Return
   AEE_SUCCESS - If observer is able to set MaxTapYDif value.
   AEE_EFAILED - Otherwise.
Side Effect
None
Comment
None
  • Follow