summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_peripheral_callbacks.h
diff options
context:
space:
mode:
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.h10
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