Example #1
0
        public int GetConnectedControllers(SteamHandle <SteamController>[] outHandles)
        {
            if (m_ConnectedControllers == null)
            {
                m_ConnectedControllers = new ControllerHandle_t[Constants.STEAM_CONTROLLER_MAX_COUNT];
            }
            var controllerCount = Steamworks.SteamController.GetConnectedControllers(m_ConnectedControllers);

            for (var i = 0; i < controllerCount; ++i)
            {
                outHandles[i] = new SteamHandle <SteamController>((ulong)m_ConnectedControllers[i]);
            }
            return(controllerCount);
        }
Example #2
0
 public void ActivateSteamActionSet(SteamHandle <InputActionMap> actionSet)
 {
     SteamSupport.GetAPIAndRequireItToBeSet().ActivateActionSet(steamControllerHandle, actionSet);
 }
Example #3
0
 public bool Equals(SteamHandle <TObject> other)
 {
     return(m_Handle == other.m_Handle);
 }
Example #4
0
 public SteamDigitalActionData GetDigitalActionData(SteamHandle <SteamController> controllerHandle,
                                                    SteamHandle <InputAction> digitalActionHandle)
 {
     throw new System.NotImplementedException();
 }
Example #5
0
 public SteamAnalogActionData GetAnalogActionData(SteamHandle <SteamController> controllerHandle,
                                                  SteamHandle <InputAction> analogActionHandle)
 {
     throw new System.NotImplementedException();
 }
Example #6
0
 public int GetActiveActionSetLayers(SteamHandle <SteamController> controllerHandle,
                                     out SteamHandle <InputActionMap> handlesOut)
 {
     throw new System.NotImplementedException();
 }
Example #7
0
 public void DeactivateAllActionSetLayers(SteamHandle <SteamController> controllerHandle)
 {
     throw new System.NotImplementedException();
 }
Example #8
0
 public void DeactivateActionSetLayer(SteamHandle <SteamController> controllerHandle, SteamHandle <InputActionMap> actionSetLayerHandle)
 {
     throw new System.NotImplementedException();
 }
Example #9
0
 public SteamHandle <InputActionMap> GetCurrentActionSet(SteamHandle <SteamController> controllerHandle)
 {
     throw new System.NotImplementedException();
 }
Example #10
0
 public void ActivateActionSet(SteamHandle <SteamController> controllerHandle, SteamHandle <InputActionMap> actionSetHandle)
 {
     Steamworks.SteamController.ActivateActionSet(new ControllerHandle_t((ulong)actionSetHandle),
                                                  new ControllerActionSetHandle_t((ulong)actionSetHandle));
 }