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

Developer

API Reference

AEE_POINTER_CLKCNT_SIZE

Brew Release
Brew MP 1.0.2
See Also
AEE_POINTER_GET_CLICKCOUNT
Description
The number of bytes required to represent the delimiter-separated click count name-value pair in string pointed to by dwParam for EVT_POINTER_UP, EVT_POINTER_DOWN, EVT_POINTER_MOVE, and EVT_POINTER_STALE_MOVE events. e.g.: 9 bytes are required for "clkcnt=2,"
Definition
  •    #define AEE_POINTER_DELIMITER_SIZE           1  // ',' (comma) delimiter
       #define AEE_POINTER_CLKCNT_PREFIX_SIZE       (sizeof("clkcnt=")-1)
       #define AEE_POINTER_CLKCNT_VALUE_SIZE        1  //1 digit e.g.: "2"
       #define AEE_POINTER_CLKCNT_SIZE  (AEE_POINTER_CLKCNT_PREFIX_SIZE + AEE_POINTER_CLKCNT_VALUE_SIZE + AEE_POINTER_DELIMITER_SIZE)    
    
Comments
None