Kodi Development  20.0
for Binary and Script based Add-Ons
KodiToAddonFuncTable_Peripheral

Detailed Description

Todo:
Mouse, light gun, multitouch

Public Member Functions

 bool (__cdecl *send_event)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_events)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_scan_results)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *get_capabilities)(const struct AddonInstance_Peripheral *addonInstance
 

Public Attributes

struct PERIPHERAL_CAPABILITIEScapabilities
 
const struct PERIPHERAL_EVENTevent
 
const struct AddonInstance_Peripheral unsigned int * event_count
 
unsigned int event_count
 
const struct AddonInstance_Peripheral unsigned int struct PERIPHERAL_EVENT ** events
 
unsigned int struct PERIPHERAL_EVENTevents
 
const struct AddonInstance_Peripheral unsigned int * peripheral_count
 
unsigned int peripheral_count
 
const struct AddonInstance_Peripheral unsigned int struct PERIPHERAL_INFO ** scan_results
 
unsigned int struct PERIPHERAL_INFOscan_results
 

Joystick operations

{

KODI_HANDLE addonInstance
 
const struct AddonInstance_PeripheraladdonInstance
 
const struct AddonInstance_Peripheral unsigned int index
 
const struct AddonInstance_Peripheral unsigned int struct JOYSTICK_INFOinfo
 
struct JOYSTICK_INFOinfo
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFOjoystick
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char * controller_id
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned int * feature_count
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned int struct JOYSTICK_FEATURE ** features
 
unsigned int feature_count
 
unsigned int struct JOYSTICK_FEATUREfeatures
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned int feature_count
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned int const struct JOYSTICK_FEATUREfeatures
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int * feature_count
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int struct JOYSTICK_DRIVER_PRIMITIVE ** primitives
 
unsigned int
 
unsigned struct JOYSTICK_DRIVER_PRIMITIVEprimitives
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int primitive_count
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int const struct JOYSTICK_DRIVER_PRIMITIVEprimitives
 
const struct JOYSTICK_INFOjoystick
 
const struct JOYSTICK_INFO const char * controller_id
 
unsigned int index
 
 void (__cdecl *free_joystick_info)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_features)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_primitives)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *save_button_map)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *revert_button_map)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *reset_button_map)(const struct AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *power_off_joystick)(const struct AddonInstance_Peripheral *addonInstance
 

The documentation for this struct was generated from the following file: