Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PeripheralAddon.cpp File Reference
#include "PeripheralAddon.h"
#include "FileItem.h"
#include "FileItemList.h"
#include "PeripheralAddonTranslator.h"
#include "addons/addoninfo/AddonInfo.h"
#include "addons/addoninfo/AddonType.h"
#include "filesystem/Directory.h"
#include "filesystem/SpecialProtocol.h"
#include "games/controllers/Controller.h"
#include "games/controllers/ControllerManager.h"
#include "input/joysticks/DriverPrimitive.h"
#include "input/joysticks/interfaces/IButtonMap.h"
#include "peripherals/Peripherals.h"
#include "peripherals/bus/virtual/PeripheralBusAddon.h"
#include "peripherals/devices/PeripheralJoystick.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include <algorithm>
#include <mutex>
#include <shared_mutex>
#include <string.h>
#include <utility>

Macros

#define KEYBOARD_BUTTON_MAP_NAME   "Keyboard"
 
#define KEYBOARD_PROVIDER   "application"
 
#define MOUSE_BUTTON_MAP_NAME   "Mouse"
 
#define MOUSE_PROVIDER   "application"
 
#define SAFE_DELETE(p)
 

Macro Definition Documentation

◆ KEYBOARD_BUTTON_MAP_NAME

#define KEYBOARD_BUTTON_MAP_NAME   "Keyboard"

◆ KEYBOARD_PROVIDER

#define KEYBOARD_PROVIDER   "application"

◆ MOUSE_BUTTON_MAP_NAME

#define MOUSE_BUTTON_MAP_NAME   "Mouse"

◆ MOUSE_PROVIDER

#define MOUSE_PROVIDER   "application"

◆ SAFE_DELETE

#define SAFE_DELETE ( p)
Value:
do \
{ \
delete (p); \
(p) = NULL; \
} while (0)