Developer

API Reference

IObserver_SetMaxDoubleTapYDif()

Brew Release
Brew MP 1.0.2
See Also
- IObserver Interface
- IObserver_SetPropertyEx()
Description
MaxDoubleTapYDif indicates maximum distance in y-coordinate between previous EVT_POINTER_DOWN and EVT_POINTER_UP event. This function is used to set MaxDoubleTapYDif value. This is one of the criteria to be satisfied for double tap detection. This can be used in conjunction with the max double tap distance; when either of the criteria is met, it will count as a double tap.
Parameters
  • pif
    []:
    [in] Pointer to the IObserver interface object.
  • nMaxDoubleTapYDif
    []:
    [in] MaxDoubleTapYDif value to be set.
Interface
Prototype
   int IObserver_SetMaxDoubleTapYDif(IObserver *pif, int nMaxDoubleTapYDif);
Return
   AEE_SUCCESS - If observer is able to set MaxDoubleTapYDif value.
   AEE_EFAILED - Otherwise.
Side Effect
IObserver_SetMaxDoubleTapYDif() calls IObserver_SetPropertyEx() and has the effect of processing an PROPEX_MAX_DOUBLE_TAP_Y_DIF event.
Comment
None.
  • Follow