Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KodiToAddonFuncTable_Peripheral Struct Reference

#include <peripheral.h>

Public Member Functions

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

Public Attributes

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

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 char * buffer
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO char unsigned int bufferSize
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char * controller_id
 
const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned intfeature_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 intfeature_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
 

Detailed Description

Todo
Mouse, light gun, multitouch

Member Function Documentation

◆ bool()

KodiToAddonFuncTable_Peripheral::bool ( __cdecl * send_event) 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 [1/2]

const struct AddonInstance_Peripheral * KodiToAddonFuncTable_Peripheral::addonInstance

◆ addonInstance [2/2]

const struct AddonInstance_Peripheral* KodiToAddonFuncTable_Peripheral::addonInstance

◆ buffer

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO char* KodiToAddonFuncTable_Peripheral::buffer

◆ bufferSize

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO char unsigned int KodiToAddonFuncTable_Peripheral::bufferSize

◆ capabilities

struct PERIPHERAL_CAPABILITIES* KodiToAddonFuncTable_Peripheral::capabilities

◆ controller_id [1/2]

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char * KodiToAddonFuncTable_Peripheral::controller_id

◆ controller_id [2/2]

const struct JOYSTICK_INFO const char* KodiToAddonFuncTable_Peripheral::controller_id

◆ event

const struct PERIPHERAL_EVENT* KodiToAddonFuncTable_Peripheral::event

◆ event_count [1/2]

const struct AddonInstance_Peripheral unsigned int* KodiToAddonFuncTable_Peripheral::event_count

◆ event_count [2/2]

unsigned int KodiToAddonFuncTable_Peripheral::event_count

◆ events [1/2]

const struct AddonInstance_Peripheral unsigned int struct PERIPHERAL_EVENT** KodiToAddonFuncTable_Peripheral::events

◆ events [2/2]

unsigned int struct PERIPHERAL_EVENT* KodiToAddonFuncTable_Peripheral::events

◆ feature_count [1/4]

const struct AddonInstance_Peripheral const struct 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 struct AddonInstance_Peripheral const struct JOYSTICK_INFO const char unsigned int KodiToAddonFuncTable_Peripheral::feature_count

◆ feature_count [4/4]

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int* KodiToAddonFuncTable_Peripheral::feature_count

◆ features [1/3]

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

◆ features [2/3]

unsigned int struct JOYSTICK_FEATURE* KodiToAddonFuncTable_Peripheral::features

◆ features [3/3]

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

◆ index [1/2]

const struct AddonInstance_Peripheral unsigned int KodiToAddonFuncTable_Peripheral::index

◆ index [2/2]

unsigned int KodiToAddonFuncTable_Peripheral::index

◆ info [1/2]

const struct AddonInstance_Peripheral unsigned int struct JOYSTICK_INFO* KodiToAddonFuncTable_Peripheral::info

◆ info [2/2]

struct JOYSTICK_INFO* KodiToAddonFuncTable_Peripheral::info

◆ int

unsigned KodiToAddonFuncTable_Peripheral::int

◆ joystick [1/2]

const struct JOYSTICK_INFO * KodiToAddonFuncTable_Peripheral::joystick

◆ joystick [2/2]

const struct JOYSTICK_INFO* KodiToAddonFuncTable_Peripheral::joystick

◆ peripheral_count [1/2]

const struct AddonInstance_Peripheral unsigned int* KodiToAddonFuncTable_Peripheral::peripheral_count

◆ peripheral_count [2/2]

unsigned int KodiToAddonFuncTable_Peripheral::peripheral_count

◆ primitive_count

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int KodiToAddonFuncTable_Peripheral::primitive_count

◆ primitives [1/3]

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int struct JOYSTICK_DRIVER_PRIMITIVE** KodiToAddonFuncTable_Peripheral::primitives

◆ primitives [2/3]

unsigned struct JOYSTICK_DRIVER_PRIMITIVE* KodiToAddonFuncTable_Peripheral::primitives

◆ primitives [3/3]

const struct AddonInstance_Peripheral const struct JOYSTICK_INFO unsigned int const struct JOYSTICK_DRIVER_PRIMITIVE* KodiToAddonFuncTable_Peripheral::primitives

◆ scan_results [1/2]

const struct AddonInstance_Peripheral unsigned int struct PERIPHERAL_INFO** KodiToAddonFuncTable_Peripheral::scan_results

◆ scan_results [2/2]

unsigned int struct PERIPHERAL_INFO* KodiToAddonFuncTable_Peripheral::scan_results

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