/// <summary>Stops executing the function setup by the corresponding AddListener</summary>
 /// <param name="inputSource">The device you would like to remove an event from. Any if the action is not device specific.</param>
 /// <param name="functionToStopCalling">The method you would like to stop calling when a device is connected. Should take a SteamVR_Action_Pose as a param</param>
 public void RemoveOnDeviceConnectedChanged(SteamVR_Input_Sources inputSource, DeviceConnectedChangeHandler functionToStopCalling)
 {
     sourceMap[inputSource].onDeviceConnectedChanged -= functionToStopCalling;
 }
 /// <summary>Fires an event when a device is connected or disconnected.</summary>
 /// <param name="inputSource">The device you would like to add an event to. Any if the action is not device specific.</param>
 /// <param name="functionToCall">The method you would like to be called when a device is connected. Should take a SteamVR_Action_Pose as a param</param>
 public void AddOnDeviceConnectedChanged(SteamVR_Input_Sources inputSource, DeviceConnectedChangeHandler functionToCall)
 {
     sourceMap[inputSource].onDeviceConnectedChanged += functionToCall;
 }