* Please contact us for information on adding support for a device.
Reads and returns the value of the accelerometer. The values are returned as a list of 3 items. The first item is the acceleration in the X axis, second item is the acceleration in the Y axis, and the third item is the acceleration in the Z axis. Not all hardware supports all three axises, most only support X and Y. In such a case, Z will be returned as zero.
Reads and returns the state of hardware buttons. The values are returned as a list of 256 items, with specific buttons having specific indexes into the list. Different buttons have different behaviors. Some only send a response when released, while others will send a response when they are held down. See the chart below for supported buttons and their behaviors.
LCD Backlight Functions
Sets the brightness of the display. Generally the display is black when
Reads the current status of the battery and returns the status in a dictionary. The dictionary contains the keys shown in the tablet below.