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

Developer

API Reference

AEE_GET_X()

Brew Release
Brew MP 1.0.2
See Also
AEE_GET_Y AEEEvent AVKType
Description
This is a macro that can be used to extract the X-Coordinate value from the given 32-bit dwParam. This is used in conjunction with the AVK_TAP key code (see the AVKType topic) and EVT_PEN events (see the AEEEvent topic). When a TAP click occurs, the applet receives the EVT_KEY event with wParam set to AVK_TAP, and dwParam containing the the X and Y coordinates of the location of the tap click. The upper 16 bits of the dwParam contains the X coordinate while the lower 16 bits contains the Y coordinate of the click. This macro (AEE_GET_X()) can be used to get the X coordinate of the event.
Params
dwParm
[]:
32-bit value containing the X and Y coordinate of the event.
Prototype
  •   int16 AEE_GET_X(uint32 dwParm);
    
Return
  • The X coordinate of the event.
Side Effect
  • None
Comments
None