Skip to content

Commit

Permalink
add controller config for Windows
Browse files Browse the repository at this point in the history
Nintendo ProControl and hori4mini config for Windows
  • Loading branch information
buildko89 authored Sep 7, 2024
1 parent f70615c commit b8b33f7
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 0 deletions.
82 changes: 82 additions & 0 deletions drone_api/sample/rc_config/Nintendo-ProControl-win.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"Os": [ "Darwin" ],
"mode": 2,
"stick": {
"Left": {
"UD": {
"index": 1,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
},
"LR": {
"index": 0,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
}
},
"Right": {
"UD": {
"index": 3,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
},
"LR": {
"index": 2,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
}
}
},
"Event": {
"RadioControlEnable": {
"index": 1,
"type": "switch",
"off": "up",
"on": "down"
},
"Camera": {
"index": 3,
"type": "push",
"off": "up",
"on": "down"
},
"GrabBaggage": {
"index": 0,
"type": "toggle",
"off": "up",
"on": "down"
},
"CameraMoveUp": {
"index": 11,
"type": "switch",
"off": "up",
"on": "down"
},
"CameraMoveDown": {
"index": 12,
"type": "switch",
"off": "up",
"on": "down"
}
}
}
83 changes: 83 additions & 0 deletions drone_api/sample/rc_config/hori4mini-control-win.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"Os": [ "Darwin" ],
"mode": 2,
"stick": {
"Left": {
"UD": {
"index": 1,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
},
"LR": {
"index": 0,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
}
},
"Right": {
"UD": {
"index": 3,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
},
"LR": {
"index": 2,
"average": true,
"valueInverse": false,
"conversion": {
"paramA": 0.9,
"paramB": 0.1,
"paramC": 0.0
}
}
}
},
"Event": {
"RadioControlEnable": {
"index": 0,
"type": "switch",
"off": "up",
"on": "down"
},
"Camera": {
"index": 2,
"type": "push",
"off": "up",
"on": "down"
},
"GrabBaggage": {
"index": 1,
"type": "toggle",
"off": "up",
"on": "down"
},
"CameraMoveUp": {
"index": 11,
"type": "switch",
"off": "up",
"on": "down"
},
"CameraMoveDown": {
"index": 12,
"type": "switch",
"off": "up",
"on": "down"
}

}
}

0 comments on commit b8b33f7

Please sign in to comment.