Developer

API Reference

IObserver_SetMaxDoubleTapXDif()

Brew Release
Brew MP 1.0.2
See Also
- IObserver Interface
- IObserver_SetPropertyEx()
- IObserver_SetMaxDoubleTapRadius
Description
MaxDoubleTapXDif indicates maximum time delay between EVT_POINTER_DOWN and EVT_POINTER_UP event. This function is used to set MaxDoubleTapXDif 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.
  • nMaxDoubleTapXDif
    []:
    [in] MaxDoubleTapXDif value to be set.
Interface
Prototype
   int IObserver_SetMaxDoubleTapXDif(IObserver *pif, int nMaxDoubleTapXDif);
Return
   AEE_SUCCESS - If observer is able to set MaxDoubleTapXDif value.
   AEE_EFAILED - Otherwise.
Side Effect
IObserver_SetMaxDoubleTapXDif() calls IObserver_SetPropertyEx() and has the effect of processing an PROPEX_MAX_DOUBLE_TAP_X_DIF event.
Comment
None.
  • Follow