GenericCommand.cs 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.Session
  4. {
  5. public class GenericCommand
  6. {
  7. public string Name { get; set; }
  8. public Dictionary<string, string> Arguments { get; set; }
  9. public GenericCommand()
  10. {
  11. Arguments = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  12. }
  13. }
  14. public enum CoreGenericCommand
  15. {
  16. MoveUp = 0,
  17. MoveDown = 1,
  18. MoveLeft = 2,
  19. MoveRight = 3,
  20. PageUp = 4,
  21. PageDown = 5,
  22. PreviousLetter = 6,
  23. NextLetter = 7,
  24. ToggleOsd = 8,
  25. ToggleContextMenu = 9,
  26. Select = 10,
  27. Back = 11,
  28. TakeScreenshot = 12,
  29. SendKey = 13,
  30. SendString = 14,
  31. GoHome = 15,
  32. GoToSettings = 16,
  33. VolumeUp = 17,
  34. VolumeDown = 18,
  35. Mute = 19,
  36. Unmute = 20,
  37. ToggleMute = 21
  38. }
  39. }