Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
KodiToAddonFuncTable_Peripheral Struct Reference

#include <Peripheral.h>

Public Member Functions

 void (__cdecl *get_capabilities)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *perform_device_scan)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_scan_results)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *get_events)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_events)(const AddonInstance_Peripheral *addonInstance
 
 bool (__cdecl *send_event)(const AddonInstance_Peripheral *addonInstance
 

Public Attributes

kodi::addon::CInstancePeripheraladdonInstance
 
PERIPHERAL_CAPABILITIEScapabilities
 
unsigned intperipheral_count
 
unsigned int PERIPHERAL_INFO ** scan_results
 
unsigned int peripheral_count
 
unsigned int PERIPHERAL_INFOscan_results
 
unsigned intevent_count
 
unsigned int PERIPHERAL_EVENT ** events
 
unsigned int event_count
 
unsigned int PERIPHERAL_EVENTevents
 
const PERIPHERAL_EVENTevent
 

Joystick operations

{

unsigned int index
 
unsigned int JOYSTICK_INFOinfo
 
JOYSTICK_INFOinfo
 
const JOYSTICK_INFOjoystick
 
const JOYSTICK_INFO const char * controller_id
 
const JOYSTICK_INFO const char unsigned intfeature_count
 
const JOYSTICK_INFO const char unsigned int JOYSTICK_FEATURE ** features
 
unsigned int feature_count
 
unsigned int JOYSTICK_FEATUREfeatures
 
const JOYSTICK_INFO const char unsigned int feature_count
 
const JOYSTICK_INFO const char unsigned int const JOYSTICK_FEATUREfeatures
 
const JOYSTICK_INFO unsigned intfeature_count
 
const JOYSTICK_INFO unsigned int JOYSTICK_DRIVER_PRIMITIVE ** primitives
 
unsigned int
 
unsigned JOYSTICK_DRIVER_PRIMITIVEprimitives
 
const JOYSTICK_INFO unsigned int primitive_count
 
const JOYSTICK_INFO unsigned int const JOYSTICK_DRIVER_PRIMITIVEprimitives
 
 PERIPHERAL_ERROR (__cdecl *get_joystick_info)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_joystick_info)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *get_features)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_features)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *map_features)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *get_ignored_primitives)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *free_primitives)(const AddonInstance_Peripheral *addonInstance
 
 PERIPHERAL_ERROR (__cdecl *set_ignored_primitives)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *save_button_map)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *revert_button_map)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *reset_button_map)(const AddonInstance_Peripheral *addonInstance
 
 void (__cdecl *power_off_joystick)(const AddonInstance_Peripheral *addonInstance
 

Detailed Description

Todo:
Mouse, light gun, multitouch

Member Function Documentation

◆ bool()

KodiToAddonFuncTable_Peripheral::bool ( __cdecl send_event) const

◆ PERIPHERAL_ERROR() [1/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl get_events) const

◆ PERIPHERAL_ERROR() [2/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl get_features) const

◆ PERIPHERAL_ERROR() [3/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl get_ignored_primitives) const

◆ PERIPHERAL_ERROR() [4/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl get_joystick_info) const

◆ PERIPHERAL_ERROR() [5/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl map_features) const

◆ PERIPHERAL_ERROR() [6/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl perform_device_scan) const

◆ PERIPHERAL_ERROR() [7/7]

KodiToAddonFuncTable_Peripheral::PERIPHERAL_ERROR ( __cdecl set_ignored_primitives) const

◆ void() [1/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl free_events) const

◆ void() [2/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl free_features) const

◆ void() [3/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl free_joystick_info) const

◆ void() [4/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl free_primitives) const

◆ void() [5/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl free_scan_results) const

◆ void() [6/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl get_capabilities) const

◆ void() [7/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl power_off_joystick) const

◆ void() [8/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl reset_button_map) const

◆ void() [9/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl revert_button_map) const

◆ void() [10/10]

KodiToAddonFuncTable_Peripheral::void ( __cdecl save_button_map) const

Member Data Documentation

◆ addonInstance

kodi::addon::CInstancePeripheral* KodiToAddonFuncTable_Peripheral::addonInstance

◆ capabilities

PERIPHERAL_CAPABILITIES* KodiToAddonFuncTable_Peripheral::capabilities

◆ controller_id

const JOYSTICK_INFO const char * KodiToAddonFuncTable_Peripheral::controller_id

◆ event

const PERIPHERAL_EVENT* KodiToAddonFuncTable_Peripheral::event

◆ event_count [1/2]

unsigned int* KodiToAddonFuncTable_Peripheral::event_count

◆ event_count [2/2]

unsigned int KodiToAddonFuncTable_Peripheral::event_count

◆ events [1/2]

unsigned int PERIPHERAL_EVENT** KodiToAddonFuncTable_Peripheral::events

◆ events [2/2]

unsigned int PERIPHERAL_EVENT* KodiToAddonFuncTable_Peripheral::events

◆ feature_count [1/4]

const JOYSTICK_INFO const char unsigned int* KodiToAddonFuncTable_Peripheral::feature_count

◆ feature_count [2/4]

unsigned int KodiToAddonFuncTable_Peripheral::feature_count

◆ feature_count [3/4]

const JOYSTICK_INFO const char unsigned int KodiToAddonFuncTable_Peripheral::feature_count

◆ feature_count [4/4]

const JOYSTICK_INFO unsigned int* KodiToAddonFuncTable_Peripheral::feature_count

◆ features [1/3]

const JOYSTICK_INFO const char unsigned int JOYSTICK_FEATURE** KodiToAddonFuncTable_Peripheral::features

◆ features [2/3]

unsigned int JOYSTICK_FEATURE* KodiToAddonFuncTable_Peripheral::features

◆ features [3/3]

const JOYSTICK_INFO const char unsigned int const JOYSTICK_FEATURE* KodiToAddonFuncTable_Peripheral::features

◆ index

unsigned int KodiToAddonFuncTable_Peripheral::index

◆ info [1/2]

unsigned int JOYSTICK_INFO* KodiToAddonFuncTable_Peripheral::info

◆ info [2/2]

JOYSTICK_INFO* KodiToAddonFuncTable_Peripheral::info

◆ int

unsigned KodiToAddonFuncTable_Peripheral::int

◆ joystick

const JOYSTICK_INFO * KodiToAddonFuncTable_Peripheral::joystick

◆ peripheral_count [1/2]

unsigned int* KodiToAddonFuncTable_Peripheral::peripheral_count

◆ peripheral_count [2/2]

unsigned int KodiToAddonFuncTable_Peripheral::peripheral_count

◆ primitive_count

const JOYSTICK_INFO unsigned int KodiToAddonFuncTable_Peripheral::primitive_count

◆ primitives [1/3]

const JOYSTICK_INFO unsigned int JOYSTICK_DRIVER_PRIMITIVE** KodiToAddonFuncTable_Peripheral::primitives

◆ primitives [2/3]

unsigned JOYSTICK_DRIVER_PRIMITIVE* KodiToAddonFuncTable_Peripheral::primitives

◆ primitives [3/3]

const JOYSTICK_INFO unsigned int const JOYSTICK_DRIVER_PRIMITIVE* KodiToAddonFuncTable_Peripheral::primitives

◆ scan_results [1/2]

unsigned int PERIPHERAL_INFO** KodiToAddonFuncTable_Peripheral::scan_results

◆ scan_results [2/2]

unsigned int PERIPHERAL_INFO* KodiToAddonFuncTable_Peripheral::scan_results

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