2 using System.Collections.Generic;
7 class CecButtonConfigItem
9 public CecButtonConfigItem(string name, CecSharp.CecKeypress key, string playerButton)
13 PlayerButton = playerButton;
17 public string PlayerButton { get; set; }
18 private bool _enabled;
24 return _enabled || PlayerButton.Length > 0;
31 public string CecButtonName { get; private set; }
32 public CecSharp.CecKeypress Key { get; private set; }
35 class CecButtonConfig : List<CecButtonConfigItem>