mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
nunchuck: C port; FTI; C++ wraps C
Some API changes were made as well, see docs/apichanges.md. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -75,7 +75,8 @@ typedef enum {
|
||||
UPM_STREAM,
|
||||
UPM_ORP,
|
||||
UPM_BINARY,
|
||||
UPM_ROTARYENCODER
|
||||
UPM_ROTARYENCODER,
|
||||
UPM_BUTTONS
|
||||
} upm_sensor_t;
|
||||
|
||||
/* Supported IO protocols via MRAA */
|
||||
@ -127,6 +128,8 @@ typedef struct _upm_sensor_ft* (*func_get_upm_sensor_ft)(upm_sensor_t sensor_typ
|
||||
#include <fti/upm_pressure.h>
|
||||
#include <fti/upm_compass.h>
|
||||
#include <fti/upm_gyroscope.h>
|
||||
#include <fti/upm_buttons.h>
|
||||
#include <fti/upm_joystick.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user