Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Input_Gamecontroller.mm File Reference
import "Input_Gamecontroller.h"
#include "addons/kodi-dev-kit/include/kodi/addon-instance/peripheral/PeripheralUtils.h"
#include "threads/CriticalSection.h"
#include "utils/log.h"
import "platform/darwin/peripherals/InputKey.h"
import "platform/darwin/peripherals/PeripheralBusGCControllerManager.h"
#include <mutex>
import <Foundation/Foundation.h>
import <GameController/GameController.h>

Classes

struct  PlayerControllerState
 

Variables

struct PlayerControllerState controllerState [4]
 
CBPeripheralBusGCControllerManagercbmanager
 
CCriticalSection m_GCMutex
 
CCriticalSection m_controllerMutex
 

Variable Documentation

◆ cbmanager

◆ controllerState

struct PlayerControllerState controllerState[4]
Initial value:
{
NSMutableArray* controllerArray

◆ m_controllerMutex

CCriticalSection m_controllerMutex

◆ m_GCMutex

CCriticalSection m_GCMutex