API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IOBSERVER_SETMAXTAPRADIUS()

Brew Release
Brew MP 1.0.2
See Also
- IObserver Interface - IObserver_SetPropertyEx() - IObserver_SetMaxTapXDif - IObserver_SetMaxTapYDif
Description
This function is used to set the maximum distance between an EVT_POINTER_DOWN and an EVT_POINTER_UP event. This is one of the criteria to be satisfied for single tap detection, and can be used simultaneously with the Max Tap X/Y Dif; as long as either criteria is met, it will be considered a tap.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
nMaxTapRadius
[]:
[in] MaxTapRadius value to be set.
Interface
Prototype
  •    int IObserver_SetMaxTapRadius(IObserver *pif, int nMaxTapRadius);
    
Return
  •    AEE_SUCCESS - If observer is able to set MaxTapRadius value.
       AEE_EFAILED - Otherwise.
    
Side Effect
  • IObserver_SetMaxTapRadius() calls IObserver_SetPropertyEx(), and has the effect of processing an PROPEX_MAX_TAP_RADIUS event.
Comments
None.