![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <rpisensehat.h>
Data Fields | |
| KEYBOARD_DEVICE | keyboard |
| I2C_DEVICE * | i2c |
| The I2C device the device is connected to. | |
| GPIO_DEVICE * | gpio |
| The GPIO device the device is connected to. | |
| uint32_t | pin |
| The GPIO pin used to signal joystick events (GPIO_PIN_23). | |
| uint32_t | trigger |
| The GPIO trigger to detect joystick events (GPIO_TRIGGER_RISING). | |
| int32_t | previouskeys |
| The keys pressed on the last GPIO event callback. | |
| uint32_t | callbackcount |
| Number of callback requests received by the device. | |
| KEYBOARD_DEVICE keyboard |
| I2C_DEVICE* i2c |
The I2C device the device is connected to.
| GPIO_DEVICE* gpio |
The GPIO device the device is connected to.
| uint32_t pin |
The GPIO pin used to signal joystick events (GPIO_PIN_23).
| uint32_t trigger |
The GPIO trigger to detect joystick events (GPIO_TRIGGER_RISING).
| int32_t previouskeys |
The keys pressed on the last GPIO event callback.
| uint32_t callbackcount |
Number of callback requests received by the device.