InputKeyCode.cs 867 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. UP,
  36. DOWN,
  37. RIGHT,
  38. LEFT,
  39. OTHER = -1
  40. }
  41. public enum InputKeyState {
  42. Null = 0,
  43. UP,
  44. DOWN,
  45. LONG
  46. }
  47. }