{
  "schemaVersion": 3.0,
  "appVersion": "5.2.1",
  "config": {
    "appName": "Red Dead Redemption 2",
    "processNames": [
      "RDR2.exe"
    ]
  },
  "devices": {
    "hardware": [
      {
        "id": 1,
        "name": "gamepad",
        "default": {
          "triggers": [
            {
              "name": "right",
              "zones": [
                {
                  "name": "low",
                  "x": 7544
                },
                {
                  "name": "med",
                  "x": 11974
                },
                {
                  "name": "high",
                  "x": 16404
                }
              ],
              "highZoneMax": 20836
            }
          ]
        }
      }
    ],
    "virtual": {
      "gamepads": [
        {
          "id": 1,
          "type": "360"
        }
      ]
    }
  },
  "masks": [
    {
      "id": 1,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 29,
          "description": "XB: BtnLeftUpperPaddle"
        }
      ]
    },
    {
      "id": 2,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 30,
          "description": "XB: BtnRightUpperPaddle"
        }
      ]
    },
    {
      "id": 3,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 31,
          "description": "XB: BtnLeftLowerPaddle"
        }
      ]
    },
    {
      "id": 4,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 32,
          "description": "XB: BtnRightLowerPaddle"
        }
      ]
    }
  ],
  "mappings": [
    {
      "condition": {
        "mask": {
          "id": 1,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "keyboard": {
            "buttonId": 47,
            "description": "DIK_V"
          }
        }
      ]
    },
    {
      "condition": {
        "mask": {
          "id": 1,
          "activator": {
            "type": "long",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "keyboard": {
            "buttonId": 48,
            "description": "DIK_B"
          }
        }
      ]
    },
    {
      "condition": {
        "mask": {
          "id": 2,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "keyboard": {
            "buttonId": 58,
            "description": "DIK_CAPITAL"
          }
        }
      ]
    },
    {
      "condition": {
        "hardware": {
          "deviceId": 1,
          "buttonId": 31,
          "description": "XB: BtnLeftLowerPaddle"
        }
      },
      "hardware": {
        "buttonId": 5,
        "description": "XB: BtnLeftShoulder / DS4: L1 / SwitchPro: L"
      }
    },
    {
      "condition": {
        "hardware": {
          "deviceId": 1,
          "buttonId": 32,
          "description": "XB: BtnRightLowerPaddle"
        }
      },
      "hardware": {
        "buttonId": 6,
        "description": "XB: BtnRightShoulder / DS4: R1 / SwitchPro: R"
      }
    }
  ]
}
