InputKeyCode.cs 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. NULL = -2,
  41. }
  42. public enum InputKeyState {
  43. Null = 0,
  44. UP,
  45. DOWN,
  46. LONG,
  47. TouchEnter,
  48. TouchExit,
  49. }
  50. }