{
  "schemaVersion": 3.0,
  "appVersion": "5.4.0",
  "config": {
    "appName": "Problem"
  },
  "devices": {
    "hardware": [
      {
        "id": 1,
        "name": "gamepad",
        "default": {
          "sticks": [
            {
              "name": "right",
              "zones": [
                {
                  "name": "low",
                  "x": 2390
                }
              ],
              "curves": {
                "points": {
                  "horizontal": [
                    {
                      "id": 1,
                      "value": 0,
                      "travel": 2390
                    },
                    {
                      "id": 2,
                      "value": 4259,
                      "travel": 13079
                    },
                    {
                      "id": 3,
                      "value": 15400,
                      "travel": 23907
                    },
                    {
                      "id": 4,
                      "value": 32768,
                      "travel": 32768
                    }
                  ],
                  "vertical": [
                    {
                      "id": 1,
                      "value": 0,
                      "travel": 2390
                    },
                    {
                      "id": 2,
                      "value": 4259,
                      "travel": 13079
                    },
                    {
                      "id": 3,
                      "value": 15400,
                      "travel": 23907
                    },
                    {
                      "id": 4,
                      "value": 32768,
                      "travel": 32768
                    }
                  ]
                }
              },
              "mouse": {
                "sensitivity": 7,
                "sensitivityY": 7
              },
              "sensitivity": {
                "x": 1,
                "y": 1
              }
            }
          ]
        }
      }
    ],
    "virtual": {
      "gamepads": [
        {
          "id": 1,
          "type": "360"
        }
      ]
    }
  },
  "masks": [
    {
      "id": 1,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 47,
          "description": "RightStickUp"
        }
      ]
    },
    {
      "id": 2,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 48,
          "description": "RightStickDown"
        }
      ]
    },
    {
      "id": 3,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 49,
          "description": "RightStickLeft"
        }
      ]
    },
    {
      "id": 4,
      "set": [
        {
          "deviceId": 1,
          "buttonId": 50,
          "description": "RightStickRight"
        }
      ]
    }
  ],
  "mappings": [
    {
      "condition": {
        "mask": {
          "id": 1,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "mouse": {
            "direction": "down"
          }
        }
      ]
    },
    {
      "condition": {
        "mask": {
          "id": 2,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "mouse": {
            "direction": "up"
          }
        }
      ]
    },
    {
      "condition": {
        "mask": {
          "id": 3,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "mouse": {
            "direction": "left"
          }
        }
      ]
    },
    {
      "condition": {
        "mask": {
          "id": 4,
          "activator": {
            "type": "single",
            "mode": "hold_until_release"
          }
        }
      },
      "macros": [
        {
          "mouse": {
            "direction": "right"
          }
        }
      ]
    },
    {
      "condition": {
        "hardware": {
          "deviceId": 1,
          "stick": "right",
          "axis": "x"
        }
      },
      "hardware": {
        "unmap": true
      }
    },
    {
      "condition": {
        "hardware": {
          "deviceId": 1,
          "stick": "right",
          "axis": "y"
        }
      },
      "hardware": {
        "unmap": true
      }
    }
  ]
}
