xbox-controller-windows.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "Xbox Controller",
  3. "idmatcher": "XInput.*",
  4. "mapping":
  5. {
  6. // left stick L,R,U,D, click
  7. "KEY_AXIS_0_VAL_DOWN": "",
  8. "KEY_AXIS_0_VAL_UP": "",
  9. "KEY_AXIS_1_VAL_DOWN": "",
  10. "KEY_AXIS_1_VAL_UP": "",
  11. "KEY_BUTTON_6": "",
  12. // right stick L,R,U,D, click
  13. "KEY_AXIS_2_VAL_DOWN": "host:player:add volume -1",
  14. "KEY_AXIS_2_VAL_UP": "host:player:add volume 1",
  15. "KEY_AXIS_3_VAL_DOWN": "host:player:add volume 1",
  16. "KEY_AXIS_3_VAL_UP": "host:player:add volume -1",
  17. "KEY_BUTTON_7": "host:player:cycle mute",
  18. // DPAD U,D,L,R
  19. "KEY_BUTTON_0": "up",
  20. "KEY_BUTTON_1": "down",
  21. "KEY_BUTTON_2": "left",
  22. "KEY_BUTTON_3": "right",
  23. // BACK, HOME, START
  24. "KEY_BUTTON_5": "host:fullscreen",
  25. "KEY_BUTTON_14": "host:toggleDebug",
  26. "KEY_BUTTON_4": "home",
  27. // LB, LT
  28. "KEY_BUTTON_8": "host:player:seek -15",
  29. "KEY_AXIS_4_VAL_DOWN": "",
  30. // RB, RT
  31. "KEY_BUTTON_9": "host:player:seek 15",
  32. "KEY_AXIS_4_VAL_DOWN": "",
  33. // A, B, X, Y
  34. "KEY_BUTTON_10": "enter",
  35. "KEY_BUTTON_11": "back",
  36. "KEY_BUTTON_12": "cycle_subtitles",
  37. "KEY_BUTTON_13": "host:player:cycle mute"
  38. }
  39. }