diff options
| author | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
| commit | 8cdf8dec703d882b46ca50a769fabb95ffc48e2c (patch) | |
| tree | f7fe8233508f79d3dc94f8f445ce6342e7dfbdbb /xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h | |
| parent | 5823b05feb29a59510c32a9c28ca18b50b9b6399 (diff) | |
| download | kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.gz kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.bz2 kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.zip | |
sync with upstream
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h')
| -rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h index 720c62f..2dfc571 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h | |||
| @@ -44,6 +44,16 @@ typedef struct CB_PeripheralLib | |||
| 44 | */ | 44 | */ |
| 45 | void (*RefreshButtonMaps)(void* addonData, const char* deviceName, const char* controllerId); | 45 | void (*RefreshButtonMaps)(void* addonData, const char* deviceName, const char* controllerId); |
| 46 | 46 | ||
| 47 | /*! | ||
| 48 | * @brief Return the number of features belonging to the specified controller | ||
| 49 | * | ||
| 50 | * @param controllerId The controller ID to enumerate | ||
| 51 | * @param type[optional] Type to filter by, or JOYSTICK_FEATURE_TYPE_UNKNOWN for all features | ||
| 52 | * | ||
| 53 | * @return The number of features matching the request parameters | ||
| 54 | */ | ||
| 55 | unsigned int (*FeatureCount)(void* addonData, const char* controllerId, JOYSTICK_FEATURE_TYPE type); | ||
| 56 | |||
| 47 | } CB_PeripheralLib; | 57 | } CB_PeripheralLib; |
| 48 | 58 | ||
| 49 | #ifdef __cplusplus | 59 | #ifdef __cplusplus |
