Home
last modified time | relevance | path

Searched refs:controllerId (Results 1 – 25 of 157) sorted by relevance

1234567

/dports/multimedia/kodi-addon-peripheral.joystick/peripheral.joystick-1.7.1-Matrix/src/api/xinput/
H A DXInputDLL.cpp131 DWORD result = m_getState(controllerId, &state); in GetState()
149 DWORD result = m_getStateEx(controllerId, &state); in GetStateWithGuide()
167 DWORD result = m_setState(controllerId, &vibration); in SetState()
171 dsyslog("No XInput devices on port %u", controllerId); in SetState()
188 DWORD result = m_getCaps(controllerId, XINPUT_FLAG_GAMEPAD, &caps); in GetCapabilities()
192 dsyslog("No XInput devices on port %u", controllerId); in GetCapabilities()
224 DWORD result = m_getBatteryInfo(controllerId, devType, &battery); in GetBatteryInformation()
228 dsyslog("No XInput devices on port %u", controllerId); in GetBatteryInformation()
237 bool CXInputDLL::PowerOff(unsigned int controllerId) in PowerOff() argument
244 DWORD result = m_powerOff(controllerId); in PowerOff()
[all …]
H A DXInputDLL.h57 bool GetState(unsigned int controllerId, XINPUT_STATE& state);
58 bool GetStateWithGuide(unsigned int controllerId, XINPUT_STATE_EX& state);
59 bool SetState(unsigned int controllerId, XINPUT_VIBRATION& vibration);
60 bool GetCapabilities(unsigned int controllerId, XINPUT_CAPABILITIES& caps);
67 …bool GetBatteryInformation(unsigned int controllerId, BatteryDeviceType deviceType, XINPUT_BATTERY…
69 bool PowerOff(unsigned int controllerId);
/dports/audio/rosegarden/rosegarden-21.06.1/src/base/
H A DControllerContext.cpp43 int controllerId) : in ControllerSearch() argument
45 m_controllerId(controllerId) in ControllerSearch()
124 int controllerId) in getStaticValue() argument
139 int controllerId) in getControllerValue() argument
202 const ControllerSearch params(eventType, controllerId); in getControllerValue()
226 const int controllerId) in getControlParameter() argument
231 return c->getControlParameter(eventType, controllerId); in getControlParameter()
264 const int controllerId = in makeControlValueAbsolute() local
267 const ControllerSearch params(eventType, controllerId); in makeControlValueAbsolute()
302 const int controllerId = in storeLatestValue() local
[all …]
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/qt/ui/
H A DUIPortManager.cpp149 uint controllerId = frame->objectName().remove( "fController" ).toUInt(); in cbTypeController_currentIndexChanged() local
187 uint controllerId = sender()->objectName().remove( "tbSetJoystick" ).toUInt(); in tbSetJoystick_clicked() local
197 UIPadSetting ups( mCore, mPort, controllerId, type, this ); in tbSetJoystick_clicked()
203 UITwinStickSetting ups(mCore, mPort, controllerId, type, this); in tbSetJoystick_clicked()
209 UIWheelSetting uas(mCore, mPort, controllerId, type, this); in tbSetJoystick_clicked()
215 UIMissionStickSetting uas(mCore, mPort, controllerId, type, this); in tbSetJoystick_clicked()
221 UIDoubleMissionStickSetting uas(mCore, mPort, controllerId, type, this); in tbSetJoystick_clicked()
227 UI3DControlPadSetting uas( mCore, mPort, controllerId, type, this ); in tbSetJoystick_clicked()
233 UIGunSetting ums( mCore, mPort, controllerId, type, this ); in tbSetJoystick_clicked()
239 UIMouseSetting ums( mCore, mPort, controllerId, type, this ); in tbSetJoystick_clicked()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/games/controllers/types/
H A DControllerTree.cpp77 bool CControllerNode::IsControllerAccepted(const std::string& controllerId) const in IsControllerAccepted()
83 if (port.IsControllerAccepted(controllerId)) in IsControllerAccepted()
94 const std::string& controllerId) const in IsControllerAccepted()
100 if (port.IsControllerAccepted(portAddress, controllerId)) in IsControllerAccepted()
173 if (port.IsCompatible(controllerId)) in IsControllerAccepted()
179 if (node.IsControllerAccepted(controllerId)) in IsControllerAccepted()
196 if (port.IsCompatible(controllerId)) in IsControllerAccepted()
204 if (node.IsControllerAccepted(portAddress, controllerId)) in IsControllerAccepted()
248 bool CControllerHub::IsControllerAccepted(const std::string& controllerId) const in IsControllerAccepted()
254 if (port.IsControllerAccepted(controllerId)) in IsControllerAccepted()
[all …]
H A DControllerTree.h82 bool IsControllerAccepted(const std::string& controllerId) const;
92 bool IsControllerAccepted(const std::string& portAddress, const std::string& controllerId) const;
175 bool IsControllerAccepted(const std::string& controllerId) const;
185 bool IsControllerAccepted(const std::string& portAddress, const std::string& controllerId) const;
222 bool IsControllerAccepted(const std::string& controllerId) const;
223 bool IsControllerAccepted(const std::string& portAddress, const std::string& controllerId) const;
/dports/games/kodi-addon-game.libretro/game.libretro-2.2.0-Matrix/src/input/
H A DInputManager.cpp62 DevicePtr device(new CLibretroDevice(controllerId)); in EnableKeyboard()
76 bool CInputManager::EnableMouse(const std::string &controllerId) in EnableMouse() argument
86 DevicePtr device(new CLibretroDevice(controllerId)); in EnableMouse()
109 else if (!controllerId.empty()) in ConnectController()
111 auto it = m_controllerLayouts.find(controllerId); in ConnectController()
121 address.c_str(), port, controllerId.c_str()); in ConnectController()
125 DevicePtr device(new CLibretroDevice(controllerId)); in ConnectController()
213 if (controllerId.empty() || feature.empty()) in InputEvent()
296 std::string controllerId; in ControllerID() local
302 controllerId = device->ControllerID(); in ControllerID()
[all …]
H A DLibretroDevice.cpp27 CLibretroDevice::CLibretroDevice(const std::string &controllerId) in CLibretroDevice() argument
28 : m_controllerId(controllerId), in CLibretroDevice()
29 m_type(CButtonMapper::Get().GetLibretroType(controllerId)), in CLibretroDevice()
30 m_subclass(CButtonMapper::Get().GetSubclass(controllerId)), in CLibretroDevice()
31 m_input(new CLibretroDeviceInput(controllerId)) in CLibretroDevice()
45 const char* controllerId = pElement->Attribute(BUTTONMAP_XML_ATTR_CONTROLLER_ID); in Deserialize() local
46 if (!controllerId) in Deserialize()
60 m_controllerId = controllerId; in Deserialize()
H A DControllerTopology.cpp179 if (controller->controllerId == portControllerId) in GetPortIndex()
239 return port->activeId == controller->controllerId; in GetAddress()
286 [&controllerId](const ControllerPtr &controller) in SetDevice()
288 return controllerId == controller->controllerId; in SetDevice()
293 port->activeId = controllerId; in SetDevice()
316 m_ports.emplace_back(CreateDefaultPort(controllerId)); in SetController()
347 [&controllerId](const ControllerPtr &controller) in SetController()
349 return controllerId == controller->controllerId; in SetController()
354 port->activeId = controllerId; in SetController()
386 if (controller->controllerId == portControllerId) in SetController()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/input/
H A DJoystickMapper.cpp32 std::string controllerId; in MapActions() local
33 DeserializeJoystickNode(pDevice, controllerId); in MapActions()
34 if (controllerId.empty()) in MapActions()
38 if (std::find(m_controllerIds.begin(), m_controllerIds.end(), controllerId) == in MapActions()
40 m_controllerIds.emplace_back(controllerId); in MapActions()
43 auto& keymap = m_joystickKeymaps[controllerId]; in MapActions()
45 keymap.reset(new CWindowKeymap(controllerId)); in MapActions()
85 for (const auto& controllerId : m_controllerIds) in GetJoystickKeymaps() local
87 auto it = m_joystickKeymaps.find(controllerId); in GetJoystickKeymaps()
95 void CJoystickMapper::DeserializeJoystickNode(const TiXmlNode* pDevice, std::string& controllerId) in DeserializeJoystickNode() argument
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/games/addons/input/
H A DGameClientJoystick.cpp65 std::string controllerId = m_controller->ID(); in OnButtonPress() local
68 event.controller_id = controllerId.c_str(); in OnButtonPress()
83 std::string controllerId = m_controller->ID(); in OnButtonMotion() local
86 event.controller_id = controllerId.c_str(); in OnButtonMotion()
103 std::string controllerId = m_controller->ID(); in OnAnalogStickMotion() local
106 event.controller_id = controllerId.c_str(); in OnAnalogStickMotion()
123 std::string controllerId = m_controller->ID(); in OnAccelerometerMotion() local
126 event.controller_id = controllerId.c_str(); in OnAccelerometerMotion()
143 std::string controllerId = m_controller->ID(); in OnWheelMotion() local
146 event.controller_id = controllerId.c_str(); in OnWheelMotion()
[all …]
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADAStreamWriter/src/
H A DCOLLADASWLibraryControllers.cpp39 const String &controllerId, const String &controllerName, const URI &skinSource ) in openSkin() argument
41 openController ( controllerId, controllerName ); in openSkin()
56 const String &controllerId, in openMorph() argument
61 openController ( controllerId, controllerName ); in openMorph()
79 …void LibraryControllers::openController ( const String &controllerId, const String &controllerName… in openController() argument
85 if ( !controllerId.empty() ) in openController()
86 mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_ID, controllerId ); in openController()
/dports/multimedia/kodi-addon-peripheral.joystick/peripheral.joystick-1.7.1-Matrix/src/storage/
H A DButtonMap.cpp55 void CButtonMap::MapFeatures(const std::string& controllerId, const FeatureVector& features) in MapFeatures() argument
65 FeatureVector& myFeatures = m_buttonMap[controllerId]; in MapFeatures()
68 MergeFeature(newFeature, myFeatures, controllerId); in MapFeatures()
103 bool CButtonMap::ResetButtonMap(const std::string& controllerId) in ResetButtonMap() argument
105 FeatureVector& features = m_buttonMap[controllerId]; in ResetButtonMap()
141 …st kodi::addon::JoystickFeature& feature, FeatureVector& features, const std::string& controllerId) in MergeFeature() argument
169 Sanitize(features, controllerId); in MergeFeature()
172 void CButtonMap::Sanitize(FeatureVector& features, const std::string& controllerId) in Sanitize() argument
228 controllerId.c_str(), in Sanitize()
241 [&controllerId](const kodi::addon::JoystickFeature& feature) in Sanitize()
[all …]
H A DButtonMap.h39 void MapFeatures(const std::string& controllerId, const FeatureVector& features);
45 bool ResetButtonMap(const std::string& controllerId);
53 …t kodi::addon::JoystickFeature& feature, FeatureVector& features, const std::string& controllerId);
55 static void Sanitize(FeatureVector& features, const std::string& controllerId);
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/dae2ma/src/
H A DDAE2MAControllerImporter.cpp337 morphAnim.setAnimationSourceId ( controllerId ); in createBlendShape()
904 const COLLADAFW::UniqueId& controllerId ) in findController() argument
909 return findMorphController ( controllerId ); in findController()
914 const COLLADAFW::UniqueId& controllerId ) in findMorphController() argument
933 const COLLADAFW::UniqueId& controllerId ) in findSkinController() argument
1089 const COLLADAFW::UniqueId& controllerId ) const in getControllerSourceId()
1125 const COLLADAFW::UniqueId& controllerId ) in findGeometryFilterData() argument
1135 const COLLADAFW::UniqueId& controllerId ) const in findObjectGroupsInitialIndex()
1147 const COLLADAFW::UniqueId& controllerId ) in findMorphTargets() argument
1159 const COLLADAFW::UniqueId& controllerId ) in addControllerToObjectGroupsInitialIndex() argument
[all …]
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADAStreamWriter/include/
H A DCOLLADASWLibraryControllers.h69 const String& controllerId,
81 const String& controllerId, in openSkin() argument
84 openSkin( controllerId, EMPTY_STRING, skinSource ); in openSkin()
99 const String& controllerId,
114 … void openController ( const String& controllerId, const String& controllerName = EMPTY_STRING );
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/input/joysticks/keymaps/
H A DKeymapHandling.cpp40 IInputReceiver* CKeymapHandling::GetInputReceiver(const std::string& controllerId) const in GetInputReceiver()
43 [&controllerId](const std::unique_ptr<IInputHandler>& inputHandler) { in GetInputReceiver()
44 return inputHandler->ControllerID() == controllerId; in GetInputReceiver()
53 IKeymap* CKeymapHandling::GetKeymap(const std::string& controllerId) const in GetKeymap()
56 [&controllerId](const std::unique_ptr<IKeymap>& keymap) { in GetKeymap()
57 return keymap->ControllerID() == controllerId; in GetKeymap()
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/examples/
H A Dvrminitaur.py30 controllerId = -1 variable
37 if (controllerId >= 0):
38 controllerId = -1 variable
40 controllerId = e[0]
41 if (e[0] == controllerId):
H A DvrEvent.py41 controllerId = -1 variable
45 while (controllerId < 0):
49 controllerId = e[CONTROLLER_ID] variable
51 controllerId = e[CONTROLLER_ID] variable
53 print("Using controllerId=" + str(controllerId))
59 if (e[CONTROLLER_ID] == controllerId):
H A Dvr_kitchen_setup_vrSyncPython.py201 controllerId = -1 variable
204 while (controllerId < 0):
208 controllerId = e[CONTROLLER_ID] variable
210 controllerId = e[CONTROLLER_ID] variable
211 if (controllerId == uiControllerId):
212 controllerId = -1 variable
214 print("Using controllerId=" + str(controllerId))
296 CONTROLLER_ID] == controllerId: # To make sure we only get the value for one of the remotes
/dports/devel/bullet/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerExample.cpp3187 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3192 gGraspingController = controllerId;
3214 if (controllerId != gGraspingController)
3291 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3315 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3340 if (controllerId == gGraspingController)
3350 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3371 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3396 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3410 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/SharedMemory/
H A DPhysicsServerExample.cpp3187 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3192 gGraspingController = controllerId;
3214 if (controllerId != gGraspingController)
3291 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3315 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3340 if (controllerId == gGraspingController)
3350 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3371 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
3396 m_args[0].m_vrControllerEvents[controllerId].m_controllerId = controllerId;
3410 if (controllerId < 0 || controllerId >= MAX_VR_CONTROLLERS)
[all …]
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/dae2ma/include/
H A DDAE2MAControllerImporter.h245 const COLLADAFW::Controller* findController ( const COLLADAFW::UniqueId& controllerId );
251 … const COLLADAFW::MorphController* findMorphController ( const COLLADAFW::UniqueId& controllerId );
257 … const COLLADAFW::SkinController* findSkinController ( const COLLADAFW::UniqueId& controllerId );
308 …const COLLADAFW::UniqueId* getControllerSourceId ( const COLLADAFW::UniqueId& controllerId ) const;
315 const size_t findObjectGroupsInitialIndex ( const COLLADAFW::UniqueId& controllerId ) const;
320 … const GeometryFilterData* findGeometryFilterData ( const COLLADAFW::UniqueId& controllerId );
383 void addControllerToObjectGroupsInitialIndex ( const COLLADAFW::UniqueId& controllerId );
404 MayaNode* findMayaControllerNode ( const COLLADAFW::UniqueId& controllerId );
410 const UniqueIdVec* findMorphTargets ( const COLLADAFW::UniqueId& controllerId );
428 const COLLADAFW::UniqueId& controllerId );
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADAMax/src/
H A DCOLLADAMaxXRefFile.cpp109 String controllerId = getControllerId(*exportNode, controllerCount - i, controller->getType()); in exportControllers() local
123 exportController(exportNode, controller, controllerId, controllerSource); in exportControllers()
133 exportSkinController(exportNode, (SkinController*)controller, controllerId, controllerSource); in exportController()
149 openSkin(controllerId, skinSource); in exportSkinController()
165 String jointsId = controllerId + JOINTS_SOURCE_ID_SUFFIX; in exportSkinController()
197 String inverseBindMatrixId = controllerId + BIND_POSES_SOURCE_ID_SUFFIX; in exportSkinController()
239 String weightsId = controllerId + WEIGHTS_SOURCE_ID_SUFFIX; in exportSkinController()
334 String weightsId = controllerId + WEIGHTS_SOURCE_ID_SUFFIX; in exportMorphController()
355 morphControllerHelperGeometry.controllerId = controllerId; in exportMorphController()
374 openMorph(controllerId, EMPTY_STRING, morphSource); in exportMorphController()
[all …]
H A DCOLLADAMaxControllerExporter.cpp111 String controllerId = getControllerId(*exportNode, controllerCount - i, controller->getType()); in exportControllers() local
125 exportController(exportNode, controller, controllerId, controllerSource); in exportControllers()
135 exportSkinController(exportNode, (SkinController*)controller, controllerId, controllerSource); in exportController()
159 openSkin(controllerId, skinSource); in exportSkinController()
173 String jointsId = controllerId + JOINTS_SOURCE_ID_SUFFIX; in exportSkinController()
205 String inverseBindMatrixId = controllerId + BIND_POSES_SOURCE_ID_SUFFIX; in exportSkinController()
247 String weightsId = controllerId + WEIGHTS_SOURCE_ID_SUFFIX; in exportSkinController()
351 String weightsId = controllerId + WEIGHTS_SOURCE_ID_SUFFIX; in exportMorphController()
372 morphControllerHelperGeometry.controllerId = controllerId; in exportMorphController()
391 openMorph(controllerId, EMPTY_STRING, morphSource); in exportMorphController()
[all …]

1234567