Esempio n. 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);
        }
Esempio n. 2
0
 public bool Equals(SteamHandle <TObject> other)
 {
     return(m_Handle == other.m_Handle);
 }
Esempio n. 3
0
 public SteamDigitalActionData GetDigitalActionData(SteamHandle <SteamController> controllerHandle,
                                                    SteamHandle <InputAction> digitalActionHandle)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 4
0
 public SteamAnalogActionData GetAnalogActionData(SteamHandle <SteamController> controllerHandle,
                                                  SteamHandle <InputAction> analogActionHandle)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 5
0
 public int GetActiveActionSetLayers(SteamHandle <SteamController> controllerHandle,
                                     out SteamHandle <InputActionMap> handlesOut)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 6
0
 public void DeactivateAllActionSetLayers(SteamHandle <SteamController> controllerHandle)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 7
0
 public void DeactivateActionSetLayer(SteamHandle <SteamController> controllerHandle, SteamHandle <InputActionMap> actionSetLayerHandle)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 8
0
 public SteamHandle <InputActionMap> GetCurrentActionSet(SteamHandle <SteamController> controllerHandle)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 9
0
 public void ActivateActionSet(SteamHandle <SteamController> controllerHandle, SteamHandle <InputActionMap> actionSetHandle)
 {
     Steamworks.SteamController.ActivateActionSet(new ControllerHandle_t((ulong)actionSetHandle),
                                                  new ControllerActionSetHandle_t((ulong)actionSetHandle));
 }
Esempio n. 10
0
 public void DeactivateSteamActionSetLayer(SteamHandle <InputActionMap> actionSet)
 {
     throw new NotImplementedException();
 }
Esempio n. 11
0
 public void ActivateSteamActionSet(SteamHandle <InputActionMap> actionSet)
 {
     SteamSupport.GetAPIAndRequireItToBeSet().ActivateActionSet(steamControllerHandle, actionSet);
 }