NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetButtonModuleValue ( unsigned int  offset,
variant &  value 

Get Button module IOMap value.

Read a value from the Button module IOMap structure. You provide the offset into the Button module IOMap structure where you want to read the value from along with a variable that will store the value. The type of the variable determines how many bytes are read from the IOMap.

offsetThe number of bytes offset from the start of the IOMap structure where the value should be read. See Button module IOMAP offsets.
valueA variable that will contain the value read from the IOMap.