9 #include "addons/kodi-dev-kit/include/kodi/addon-instance/peripheral/PeripheralUtils.h" 10 #include "peripherals/PeripheralTypes.h" 11 #include "threads/CriticalSection.h" 13 #import "platform/darwin/peripherals/Input_Gamecontroller.h" 14 #include "platform/darwin/peripherals/PeripheralBusGCController.h" 19 #import <Foundation/Foundation.h> 27 - (void)DeviceAdded:(
int)deviceID;
28 - (void)DeviceRemoved:(
int)deviceID;
29 - (void)SetDigitalEvent:(kodi::addon::PeripheralEvent)event;
30 - (void)SetAxisEvent:(kodi::addon::PeripheralEvent)event;
31 - (std::vector<kodi::addon::PeripheralEvent>)GetButtonEvents;
32 - (std::vector<kodi::addon::PeripheralEvent>)GetAxisEvents;
33 - (int)GetControllerAxisCount:(
int)deviceId withControllerType:(GCCONTROLLER_TYPE)controllerType;
34 - (int)GetControllerButtonCount:(
int)deviceId withControllerType:(GCCONTROLLER_TYPE)controllerType;
35 - (GCCONTROLLER_TYPE)GetControllerType:(
int)deviceID;
36 - (std::string)GetDeviceLocation:(
int)deviceId;
37 - (void)displayMessage:(NSString*)message controllerID:(int)controllerID;
Definition: PeripheralTypes.h:356
Definition: PeripheralBusGCController.h:25
Definition: PeripheralBusGCControllerManager.h:21