1 using System.Collections.Generic;
5 class CecButtonConfigItem
7 public CecButtonConfigItem(string name, CecSharp.CecKeypress key, string playerButton)
11 PlayerButton = playerButton;
15 public string PlayerButton { get; set; }
16 private bool _enabled;
22 return _enabled || PlayerButton.Length > 0;
29 public string CecButtonName { get; private set; }
30 public CecSharp.CecKeypress Key { get; private set; }
33 class CecButtonConfig : List<CecButtonConfigItem>