{
    "version": 18,
    "unmapped_passthrough_layers": [],
    "partial_scroll_timeout": 1000000,
    "tap_hold_threshold": 200000,
    "gpio_debounce_time_ms": 5,
    "interval_override": 0,
    "our_descriptor_number": 0,
    "ignore_auth_dev_inputs": false,
    "macro_entry_duration": 1,
    "gpio_output_mode": 0,
    "input_labels": 0,
    "mappings": [
        {
            "target_usage": "0x00090001",
            "source_usage": "0x00090109",
            "source_name": "Big Dome Button",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x0007001e",
            "source_usage": "0x00090101",
            "source_name": "Button 1",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x0007001f",
            "source_usage": "0x00090102",
            "source_name": "Button 2",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070020",
            "source_usage": "0x00090103",
            "source_name": "Button 3",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070021",
            "source_usage": "0x00090104",
            "source_name": "Button 4",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00090002",
            "source_usage": "0x00090105",
            "source_name": "Button 5",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070023",
            "source_usage": "0x00090106",
            "source_name": "Button 6",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070024",
            "source_usage": "0x00090107",
            "source_name": "Button 7",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070025",
            "source_usage": "0x00090108",
            "source_name": "Button 8",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00000000",
            "source_usage": "0x0009010b",
            "source_name": "PS button",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00000000",
            "source_usage": "0x0009010a",
            "source_name": "Stick Click",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00010030",
            "source_usage": "0xfff30001",
            "source_name": "Stick ← →",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00010031",
            "source_usage": "0xfff30002",
            "source_name": "Stick ↑ ↓",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000b",
            "target_usage": "0x0007001a",
            "source_name": "Stick ↑",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000c",
            "target_usage": "0x00070016",
            "source_name": "Stick ↓",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000d",
            "target_usage": "0x00070004",
            "source_name": "Stick ←",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000e",
            "target_usage": "0x00070007",
            "source_name": "Stick →",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070004",
            "source_usage": "0xffff0032",
            "source_name": "E1 port",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070005",
            "source_usage": "0xffff0034",
            "source_name": "E2 port",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070006",
            "source_usage": "0xffff0036",
            "source_name": "E3 port",
            "scaling": 1000,
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "target_usage": "0x00070007",
            "source_usage": "0xffff0038",
            "source_name": "E4 port",
            "scaling": 1000,
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000b",
            "source_name": "SAC STICK ↑",
            "target_usage": "0x0007001a",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000c",
            "source_name": "SAC STICK ↓",
            "target_usage": "0x00070004",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000d",
            "source_name": "SAC STICK ←",
            "target_usage": "0x00070016",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff5000e",
            "source_name": "SAC STICK →",
            "target_usage": "0x00070007",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff50015",
            "source_name": "E4 ↑",
            "target_usage": "0x0007001a",
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff50016",
            "source_name": "E4 ↓",
            "target_usage": "0x00070016",
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff50017",
            "source_name": "E4 ←",
            "target_usage": "0x00070004",
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xfff50018",
            "source_name": "E4 →",
            "target_usage": "0x00070007",
            "layers": [
                0
            ],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xffff0032",
            "target_usage": "0x00010030",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        },
        {
            "source_usage": "0xffff0033",
            "target_usage": "0x00010031",
            "layers": [],
            "sticky": false,
            "tap": false,
            "hold": false,
            "scaling": 1000,
            "source_port": 0,
            "target_port": 0
        }
    ],
    "macros": [
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        []
    ],
    "expressions": [
        "0xffff0030 input_state -128000 add dup abs 10000 gt mul 25 mul eol eol /* X-AXIS position (SLOW by adjust the 0.025 mul downwards, e.g. 0.005)\n(0) LEFT: 0xffff0030 input_state -128 add dup abs 10 gt mul 0.025 mul\n(90) TOP: 0xffff0031 input_state -128 add dup abs 10 gt mul 0.025 mul -1 mul\n(180) RIGHT: 0xffff0030 input_state -128 add dup abs 10 gt mul 0.025 mul -1 mul \n(270) BOTTOM: 0xffff0031 input_state -128 add dup abs 10 gt mul 0.025 mul \n*/",
        "0xffff0031 input_state -128000 add dup abs 10000 gt mul 25 mul eol eol /* Y-AXIS POSITION (SLOW by adjust the 0.025 mul downwards, e.g. 0.005)\n(0) LEFT: 0xffff0031 input_state -128 add dup abs 10 gt mul 0.025 mul\n(90) TOP: 0xffff0030 input_state -128 add dup abs 10 gt mul 0.025 mul\n(180) RIGHT: 0xffff0031 input_state -128 add dup abs 10 gt mul 0.025 mul -1 mul\n(270) BOTTOM: 0xffff0030 input_state -128 add dup abs 10 gt mul 0.025 mul -1 mul \n*/",
        "0xffff0030 input_state_scaled eol 128000 sub eol dup mul eol eol 0xffff0031 input_state_scaled eol 128000 sub eol dup mul eol eol add sqrt eol 64000 gt eol 7000 store eol eol 0xffff0030 input_state_scaled eol 128000 sub eol 0xffff0031 input_state_scaled eol 128000 sub eol atan2 eol 8000 store eol eol eol eol 8000 recall 112500 gt eol 8000 recall -112500 lt eol bitwise_or eol 7000 recall mul eol 11000 store eol eol eol 8000 recall -67500 gt eol 8000 recall 67500 lt eol mul eol 7000 recall mul eol 12000 store eol eol eol 8000 recall -157500 gt eol 8000 recall -22500 lt eol mul eol 7000 recall mul eol 13000 store eol eol eol 8000 recall 22500 gt eol 8000 recall 157500 lt eol mul eol 7000 recall mul eol 14000 store",
        "0xffff0038 input_state_scaled eol 128000 sub eol dup mul eol eol 0xffff0039 input_state_scaled eol 128000 sub eol dup mul eol eol add sqrt eol 64000 gt eol 17000 store eol eol 0xffff0038 input_state_scaled eol 128000 sub eol 0xffff0039 input_state_scaled eol 128000 sub eol atan2 eol 18000 store eol eol eol eol 18000 recall 112500 gt eol 18000 recall -112500 lt eol bitwise_or eol 17000 recall mul eol 21000 store eol eol eol 18000 recall -67500 gt eol 18000 recall 67500 lt eol mul eol 17000 recall mul eol 22000 store eol eol eol 18000 recall -157500 gt eol 18000 recall -22500 lt eol mul eol 17000 recall mul eol 23000 store eol eol eol 18000 recall 22500 gt eol 18000 recall 157500 lt eol mul eol 17000 recall mul eol 24000 store",
        "",
        "",
        "",
        ""
    ],
    "quirks": [
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090101",
            "bitpos": 120,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090102",
            "bitpos": 121,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090103",
            "bitpos": 122,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090104",
            "bitpos": 123,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090105",
            "bitpos": 124,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090106",
            "bitpos": 125,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090107",
            "bitpos": 126,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090108",
            "bitpos": 127,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x00090109",
            "bitpos": 128,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x0009010a",
            "bitpos": 129,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x0009010b",
            "bitpos": 130,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0x0009010c",
            "bitpos": 131,
            "size": 1,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0030",
            "bitpos": 136,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0031",
            "bitpos": 144,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0032",
            "bitpos": 152,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0033",
            "bitpos": 160,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0034",
            "bitpos": 168,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0035",
            "bitpos": 176,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0036",
            "bitpos": 184,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0037",
            "bitpos": 192,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0038",
            "bitpos": 200,
            "size": 8,
            "relative": false,
            "signed": false
        },
        {
            "vendor_id": "0x054c",
            "product_id": "0x0e5f",
            "interface": 0,
            "report_id": 1,
            "usage": "0xffff0039",
            "bitpos": 208,
            "size": 8,
            "relative": false,
            "signed": false
        }
    ],
    "normalize_gamepad_inputs": false
}