File size: 582 Bytes
18a519f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if UNITY_EDITOR
using UnityEngine.InputSystem.Layouts;

namespace UnityEngine.InputSystem.Editor
{
    internal class DefaultInputControlPickerLayout : IInputControlPickerLayout
    {
        public void AddControlItem(InputControlPickerDropdown dropdown, DeviceDropdownItem parent,
            ControlDropdownItem parentControl,
            InputControlLayout.ControlItem control, string device, string usage, bool searchable)
        {
            dropdown.AddControlItem(this, parent, parentControl, control, device, usage, searchable);
        }
    }
}
#endif // UNITY_EDITOR