{
  "name": "Xbox Controller",
  "idmatcher": "XInput.*",
  "mapping": 
  {
      // left stick L,R,U,D, click
      "KEY_AXIS_0_VAL_DOWN": "",
      "KEY_AXIS_0_VAL_UP": "",
      "KEY_AXIS_1_VAL_DOWN": "",
      "KEY_AXIS_1_VAL_UP": "",
      "KEY_BUTTON_6": "",
      // right stick L,R,U,D, click
      "KEY_AXIS_2_VAL_DOWN": "host:player:add volume -1",
      "KEY_AXIS_2_VAL_UP": "host:player:add volume 1",
      "KEY_AXIS_3_VAL_DOWN": "host:player:add volume 1",
      "KEY_AXIS_3_VAL_UP": "host:player:add volume -1",
      "KEY_BUTTON_7": "host:player:cycle mute",
      // DPAD U,D,L,R
      "KEY_BUTTON_0": "up",
      "KEY_BUTTON_1": "down",
      "KEY_BUTTON_2": "left",
      "KEY_BUTTON_3": "right",
      // BACK, HOME, START
      "KEY_BUTTON_5": "host:fullscreen",
      "KEY_BUTTON_14": "host:toggleDebug",
      "KEY_BUTTON_4": "home",
      // LB, LT
      "KEY_BUTTON_8": "host:player:seek -15",
      "KEY_AXIS_4_VAL_DOWN": "",
      // RB, RT
      "KEY_BUTTON_9": "host:player:seek 15",
      "KEY_AXIS_4_VAL_DOWN": "",
      // A, B, X, Y
      "KEY_BUTTON_10": "enter",
      "KEY_BUTTON_11": "back",
      "KEY_BUTTON_12": "cycle_subtitles",
      "KEY_BUTTON_13": "host:player:cycle mute"
  }
}