// private void HoloLensInput() { List <string> stillTrue = new List <string>(_input.Count); foreach (var input in _input) { if (input.Value == null) { Input.ForceButtonThisFrame(input.Key); } else if (input.Value is bool) { if ((bool)input.Value) { stillTrue.Add(input.Key); Input.ForceButtonThisFrame(input.Key); } } else { Input.AccumulateAxisThisFrame(input.Key, (float)input.Value); } } _input.Clear(); foreach (string t in stillTrue) { _input.Add(t, true); } }