protected override void DoubleClickedItem(int id)
            {
                var item = FindItem(id, rootItem);

                if (item is DeviceItem deviceItem)
                {
                    InputDeviceDebuggerWindow.CreateOrShowExisting(deviceItem.device);
                }
            }
Example #2
0
            protected override void DoubleClickedItem(int id)
            {
                var item = FindItem(id, rootItem);
                if (item == null)
                    return;

                var deviceItem = item as DeviceItem;
                if (deviceItem != null)
                {
                    InputDeviceDebuggerWindow.CreateOrShowExisting(deviceItem.device);
                    return;
                }
            }