Developer

API Reference

IObserver_SetMaxTapXDif()

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