User`s manual

106 eDisplay (OP7200)
Sets the button attributes for the action to be taken when the button is pressed.
PARAMETERS
xmemPtr is the xmem address of the pointer to an array of button descriptors
btn is the button ID number
RepeatCntrl sets repeat enable/disable (0 = repeat off, 1 = repeat on)
InitRepeatDelay sets the initial delay in milliseconds for the repeat when the repeat is enabled
RepeatDelay sets the repeat delay in milliseconds between repeats
BuzzerCntrl enables/disables the buzzer sound when the button is pressed (0 = buzzer off,
1 = buzzer on)
RETURN VALUE
1 when completed
.
Searches the list of buttons in use for a button that matches the x,y coordinates from the touchscreen.
PARAMETERS
xmemPtr is the xmem address of the pointer to an array of button descriptors
x is the x coordinate of the location on the touchscreen
y is the y coordinate of the location on the touchscreen
RETURN VALUE
The button ID of the button corresponding to the button being pressed. If no such button is found, the
function returns a negative number.
SEE ALSO
btnVerifyXY, btnGet
int btnAttributes(unsigned long xmemPtr, int btn,
int RepeatCntrl,int InitRepeatDelay,
int RepeatDelay, int BuzzerCntrl);
int btnSearchXY(unsigned long xmemPtr, int x, int y);