InputKeyCode.cs 812 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using UnityEngine;
  5. namespace SC.XR.Unity.Module_InputSystem {
  6. public enum InputKeyCode {
  7. /// <summary>
  8. /// 基本按键
  9. /// </summary>
  10. Enter,
  11. Cancel,
  12. /// <summary>
  13. /// 手柄按键
  14. /// </summary>
  15. Trigger,
  16. Function,
  17. Back,
  18. Tp,
  19. VolumeDown,
  20. VolumeUp,
  21. A,
  22. B,
  23. LjoystickKey,
  24. LFunction,
  25. LHallInside,
  26. LHallForward,
  27. LTrigger,
  28. X,
  29. Y,
  30. RjoystickKey,
  31. RFunction,
  32. RHallInside,
  33. RHallForward,
  34. RTrigger,
  35. OTHER = -1
  36. }
  37. public enum InputKeyState {
  38. Null = 0,
  39. UP,
  40. DOWN,
  41. LONG
  42. }
  43. }