diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/game.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/game.h index a4cb7287786a5..661b59fcba40a 100644 --- a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/game.h +++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/game.h @@ -15,8 +15,16 @@ //============================================================================== /// @ingroup cpp_kodi_addon_game_Defs -/// @brief **Port ID used when topology is unknown** +/// @brief **Port ID used when topology is unknown. Shown in the GUI** #define DEFAULT_PORT_ID "1" + +/// @ingroup cpp_kodi_addon_game_Defs +/// @brief **Port ID used for keyboard input. Not shown in the GUI** +#define KEYBOARD_PORT_ID "keyboard" + +/// @ingroup cpp_kodi_addon_game_Defs +/// @brief **Port ID used for mouse input. Not shown in the GUI** +#define MOUSE_PORT_ID "mouse" //------------------------------------------------------------------------------ #ifdef __cplusplus @@ -844,7 +852,7 @@ extern "C" /// @brief GAME_PORT_TYPE type; - /// @brief Required for GAME_PORT_CONTROLLER type + /// @brief const char* port_id; /// @brief diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h index 4b3c9b155f993..077df6d39989b 100644 --- a/xbmc/addons/kodi-dev-kit/include/kodi/versions.h +++ b/xbmc/addons/kodi-dev-kit/include/kodi/versions.h @@ -97,7 +97,7 @@ #define ADDON_INSTANCE_VERSION_AUDIOENCODER_DEPENDS "c-api/addon-instance/audio_encoder.h" \ "addon-instance/AudioEncoder.h" -#define ADDON_INSTANCE_VERSION_GAME "4.0.0" +#define ADDON_INSTANCE_VERSION_GAME "4.0.1" #define ADDON_INSTANCE_VERSION_GAME_MIN "4.0.0" #define ADDON_INSTANCE_VERSION_GAME_XML_ID "kodi.binary.instance.game" #define ADDON_INSTANCE_VERSION_GAME_DEPENDS "addon-instance/Game.h"