Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
skybrush-ext-rc-gamepad / supported_devices.json
Size: Mime:
{
  "version": 1,
  "rules": [
    {
      "match": {
        "vid": "0x0c45",
        "pid": "0x4320",
        "description": "XEOX Gamepad SL-6556-BK"
      },
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 2
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 3
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 1,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 0
        },
        {
          "channel": 5,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 4,
              "bit": 0,
              "value": 6554
            },
            {
              "offset": 4,
              "bit": 1,
              "value": 19660
            },
            {
              "offset": 4,
              "bit": 2,
              "value": 26214
            },
            {
              "offset": 4,
              "bit": 3,
              "value": 36044
            },
            {
              "offset": 4,
              "bit": 4,
              "value": 45875
            },
            {
              "offset": 4,
              "bit": 5,
              "value": 52428
            }
          ]
        },
        {
          "channel": 6,
          "type": "button",
          "offset": 5,
          "bit": 1
        },
        {
          "channel": 7,
          "type": "hat",
          "offset": 6,
          "axis": "x"
        },
        {
          "channel": 8,
          "type": "hat",
          "offset": 6,
          "axis": "y"
        }
      ]
    },
    {
      "match": [
        {
          "vid": "0x054c",
          "pid": "0x0ce6",
          "description": "Sony PlayStation 4 DualShock 4"
        },
        {
          "vid": "0x054c",
          "pid": "0x09cc",
          "description": "Sony PlayStation 4 DualShock 4"
        },
        {
          "vid": "0x0f0d",
          "pid": "0x00ee",
          "description": "HORIPAD mini4"
        }
      ],
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 3
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 4
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 2,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 1
        },
        {
          "channel": 5,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 5,
              "bit": 5,
              "value": 6554
            },
            {
              "offset": 5,
              "bit": 4,
              "value": 19660
            },
            {
              "offset": 5,
              "bit": 6,
              "value": 26214
            },
            {
              "offset": 5,
              "bit": 7,
              "value": 36044
            },
            {
              "offset": 6,
              "bit": 0,
              "value": 45875
            },
            {
              "offset": 6,
              "bit": 1,
              "value": 52428
            }
          ]
        },
        {
          "channel": 6,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 6,
              "bit": 2,
              "value": 0
            },
            {
              "offset": 6,
              "bit": 3,
              "value": 65535
            }
          ]
        },
        {
          "channel": 7,
          "type": "hat",
          "offset": 5,
          "axis": "x"
        },
        {
          "channel": 8,
          "type": "hat",
          "offset": 5,
          "axis": "y"
        }
      ]
    },
    {
      "match": {
        "vid": "0x054c",
        "pid": "0x0ce6",
        "description": "Sony PlayStation 5 DualSense"
      },
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 3
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 4
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 2,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 1
        },
        {
          "channel": 5,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 8,
              "bit": 7,
              "value": 6554
            },
            {
              "offset": 8,
              "bit": 5,
              "value": 19660
            },
            {
              "offset": 8,
              "bit": 6,
              "value": 26214
            },
            {
              "offset": 8,
              "bit": 4,
              "value": 36044
            },
            {
              "offset": 9,
              "bit": 0,
              "value": 45875
            },
            {
              "offset": 9,
              "bit": 1,
              "value": 52428
            }
          ]
        },
        {
          "channel": 6,
          "type": "button",
          "offset": 9,
          "bit": 2
        },
        {
          "channel": 7,
          "type": "hat",
          "offset": 8,
          "axis": "x"
        },
        {
          "channel": 8,
          "type": "hat",
          "offset": 8,
          "axis": "y"
        }
      ]
    },
    {
      "match": {
        "vid": "0x0e8f",
        "pid": "0x0003",
        "description": "GreenAsia Inc. MaxFire Blaze2"
      },
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 1
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 0
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 3,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 2
        },
        {
          "channel": 5,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 5,
              "bit": 6,
              "value": 6554
            },
            {
              "offset": 5,
              "bit": 7,
              "value": 19660
            },
            {
              "offset": 5,
              "bit": 5,
              "value": 26214
            },
            {
              "offset": 5,
              "bit": 4,
              "value": 36044
            },
            {
              "offset": 6,
              "bit": 2,
              "value": 45875
            },
            {
              "offset": 6,
              "bit": 3,
              "value": 52428
            }
          ]
        },
        {
          "channel": 6,
          "type": "button",
          "offset": 6,
          "bit": 5
        },
        {
          "channel": 7,
          "type": "hat",
          "offset": 5,
          "axis": "x"
        },
        {
          "channel": 8,
          "type": "hat",
          "offset": 5,
          "axis": "y"
        }
      ]
    },
    {
      "match": [
        {
          "vid": "0x0483",
          "pid": "0x5720",
          "description": "FrSky Simulator XSR-SIM"
        }
      ],
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 3,
          "signed": true
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 4,
          "signed": true
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 5,
          "signed": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 6,
          "signed": true
        },
        {
          "channel": 5,
          "type": "axis",
          "offset": 7,
          "signed": true
        },
        {
          "channel": 6,
          "type": "axis",
          "offset": 8,
          "signed": true
        },
        {
          "channel": 7,
          "type": "axis",
          "offset": 9,
          "signed": true
        },
        {
          "channel": 8,
          "type": "axis",
          "offset": 10,
          "signed": true
        }
      ]
    },
    {
      "match": [
        {
          "vid": "0x1781",
          "pid": "0x0e56",
          "description": "Futaba RealFlight InterLink Elite"
        }
      ],
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 1,
          "signed": false
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 2,
          "signed": false
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 3,
          "signed": false,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 5,
          "signed": false
        },
        {
          "channel": 5,
          "type": "button",
          "offset": 7,
          "bit": 0,
          "invert": true
        },
        {
          "channel": 6,
          "type": "axis",
          "offset": 4,
          "signed": false
        },
        {
          "channel": 7,
          "type": "button",
          "offset": 7,
          "bit": 1,
          "invert": true
        },
        {
          "channel": 8,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 7,
              "bit": 3,
              "value": 32768
            },
            {
              "offset": 7,
              "bit": 4,
              "value": 65535
            }
          ]
        }
      ]
    },
    {
      "match": [
        {
          "vid": "0x046d",
          "pid": "0xc216",
          "description": "LogiTech F310"
        }
      ],
      "controls": [
        {
          "channel": 1,
          "type": "axis",
          "offset": 2,
          "signed": false
        },
        {
          "channel": 2,
          "type": "axis",
          "offset": 3,
          "signed": false
        },
        {
          "channel": 3,
          "type": "axis",
          "offset": 1,
          "signed": false,
          "invert": true
        },
        {
          "channel": 4,
          "type": "axis",
          "offset": 0,
          "signed": false
        },
        {
          "channel": 5,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 4,
              "bit": 5,
              "value": 6554
            },
            {
              "offset": 4,
              "bit": 4,
              "value": 19660
            },
            {
              "offset": 4,
              "bit": 6,
              "value": 26214
            },
            {
              "offset": 4,
              "bit": 7,
              "value": 36044
            },
            {
              "offset": 5,
              "bit": 0,
              "value": 45875
            },
            {
              "offset": 5,
              "bit": 1,
              "value": 52428
            }
          ]
        },
        {
          "channel": 6,
          "type": "multibutton",
          "buttons": [
            {
              "offset": 5,
              "bit": 2,
              "value": 0
            },
            {
              "offset": 5,
              "bit": 3,
              "value": 65535
            }
          ]
        },
        {
          "channel": 7,
          "type": "hat",
          "offset": 4,
          "axis": "x"
        },
        {
          "channel": 8,
          "type": "hat",
          "offset": 4,
          "axis": "y"
        }
      ]
    }
  ]
}