[Submit layout] "Plateup!", "Roboquest" and Adjust gyroscope sensitivity in Halo Infinite. (#289)

* Upload layouts. "Plateup!" and "Roboquest"

* Halo Infinite: Adjustment of gylo sensor input and Beautifying the JSON format.
This commit is contained in:
Tak-attack 2024-03-12 22:26:06 +09:00 committed by GitHub
parent ad3cd1f444
commit 8fecd3683d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 524 additions and 58 deletions

View File

@ -0,0 +1,7 @@
{
"name": "PlateUp!",
"default_layout": "custom",
"layouts": [
"plateup"
]
}

View File

@ -0,0 +1,7 @@
{
"name": "Roboquest",
"default_layout": "custom",
"layouts": [
"roboquest"
]
}

View File

@ -7,13 +7,16 @@
"layers": { "layers": {
"AimTouchpad": { "AimTouchpad": {
"right": { "right": {
"inner": [{ "inner": [
{
"type": "touchpad", "type": "touchpad",
"axis": [{ "axis": [
{
"input": "axisX", "input": "axisX",
"output": "rightJoystickX", "output": "rightJoystickX",
"sensitivity": 3 "sensitivity": 3
}, { },
{
"input": "axisY", "input": "axisY",
"output": "rightJoystickY", "output": "rightJoystickY",
"sensitivity": 3 "sensitivity": 3
@ -30,19 +33,28 @@
} }
] ]
}, },
"sensors": [{ "sensors": [
{
"type": "gyroscope", "type": "gyroscope",
"axis": { "axis": [
"input": "axisXY", {
"output": "rightJoystick", "input": "axisX",
"sensitivity": 2 "output": "rightJoystickX",
"sensitivity": 1
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 0.5
} }
]
} }
] ]
} }
}, },
"left": { "left": {
"inner": [{ "inner": [
{
"type": "joystick", "type": "joystick",
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
@ -68,7 +80,8 @@
"outer": [ "outer": [
null, null,
null, null,
[{ [
{
"type": "directionalPad", "type": "directionalPad",
"interaction": { "interaction": {
"activationType": "exclusive" "activationType": "exclusive"
@ -77,7 +90,8 @@
} }
], ],
null, null,
null, { null,
{
"type": "joystick", "type": "joystick",
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
@ -88,7 +102,8 @@
} }
}, },
"action": [ "action": [
"leftTrigger", { "leftTrigger",
{
"type": "layer", "type": "layer",
"target": "AimTouchpad" "target": "AimTouchpad"
} }
@ -110,7 +125,8 @@
] ]
}, },
"right": { "right": {
"inner": [{ "inner": [
{
"type": "joystick", "type": "joystick",
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
@ -132,13 +148,16 @@
} }
} }
], ],
"outer": [{ "outer": [
{
"type": "button", "type": "button",
"action": "rightBumper" "action": "rightBumper"
}, { },
{
"type": "button", "type": "button",
"action": [ "action": [
"leftTrigger", { "leftTrigger",
{
"type": "layer", "type": "layer",
"target": "AimTouchpad" "target": "AimTouchpad"
} }
@ -153,13 +172,16 @@
}, },
"toggle": true "toggle": true
}, },
[{ [
{
"type": "button", "type": "button",
"action": "gamepadB" "action": "gamepadB"
}, { },
{
"type": "button", "type": "button",
"action": "rightThumb" "action": "rightThumb"
}, { },
{
"type": "button", "type": "button",
"action": "gamepadA", "action": "gamepadA",
"styles": { "styles": {
@ -172,13 +194,16 @@
} }
} }
], ],
[{ [
{
"type": "touchpad", "type": "touchpad",
"axis": [{ "axis": [
{
"input": "axisX", "input": "axisX",
"output": "rightJoystickX", "output": "rightJoystickX",
"sensitivity": 3 "sensitivity": 3
}, { },
{
"input": "axisY", "input": "axisY",
"output": "rightJoystickY", "output": "rightJoystickY",
"sensitivity": 3 "sensitivity": 3
@ -194,7 +219,8 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "leftThumb", "action": "leftThumb",
"styles": { "styles": {
@ -205,11 +231,13 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "leftBumper" "action": "leftBumper"
} }
], { ],
{
"type": "button", "type": "button",
"action": "gamepadX", "action": "gamepadX",
"styles": { "styles": {
@ -220,7 +248,8 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "gamepadY", "action": "gamepadY",
"styles": { "styles": {
@ -235,10 +264,12 @@
] ]
}, },
"upper": { "upper": {
"right": [{ "right": [
{
"type": "button", "type": "button",
"action": "menu" "action": "menu"
}, { },
{
"type": "button", "type": "button",
"action": "view" "action": "view"
} }
@ -251,19 +282,28 @@
"content": { "content": {
"layers": { "layers": {
"AimTouchpad": { "AimTouchpad": {
"sensors": [{ "sensors": [
{
"type": "gyroscope", "type": "gyroscope",
"axis": { "axis": [
"input": "axisXY", {
"output": "relativeMouse", "input": "axisX",
"output": "relativeMouseX",
"sensitivity": 10 "sensitivity": 10
},
{
"input": "axisY",
"output": "relativeMouse",
"sensitivity": 5
} }
]
} }
] ]
} }
}, },
"left": { "left": {
"inner": [{ "inner": [
{
"type": "joystick", "type": "joystick",
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
@ -289,7 +329,8 @@
"outer": [ "outer": [
null, null,
null, null,
[{ [
{
"type": "directionalPad", "type": "directionalPad",
"interaction": { "interaction": {
"activationType": "exclusive" "activationType": "exclusive"
@ -298,7 +339,8 @@
} }
], ],
null, null,
null, { null,
{
"type": "joystick", "type": "joystick",
"axis": { "axis": {
"input": "axisXY", "input": "axisXY",
@ -309,7 +351,8 @@
} }
}, },
"action": [ "action": [
"leftTrigger", { "leftTrigger",
{
"type": "layer", "type": "layer",
"target": "AimTouchpad" "target": "AimTouchpad"
} }
@ -331,13 +374,16 @@
] ]
}, },
"right": { "right": {
"inner": [{ "inner": [
{
"type": "touchpad", "type": "touchpad",
"axis": [{ "axis": [
{
"input": "axisX", "input": "axisX",
"output": "relativeMouseX", "output": "relativeMouseX",
"sensitivity": 10 "sensitivity": 10
}, { },
{
"input": "axisY", "input": "axisY",
"output": "relativeMouseY", "output": "relativeMouseY",
"sensitivity": 10 "sensitivity": 10
@ -353,13 +399,16 @@
} }
} }
], ],
"outer": [{ "outer": [
{
"type": "button", "type": "button",
"action": "rightBumper" "action": "rightBumper"
}, { },
{
"type": "button", "type": "button",
"action": [ "action": [
"leftTrigger", { "leftTrigger",
{
"type": "layer", "type": "layer",
"target": "AimTouchpad" "target": "AimTouchpad"
} }
@ -374,13 +423,16 @@
}, },
"toggle": true "toggle": true
}, },
[{ [
{
"type": "button", "type": "button",
"action": "gamepadB" "action": "gamepadB"
}, { },
{
"type": "button", "type": "button",
"action": "rightThumb" "action": "rightThumb"
}, { },
{
"type": "button", "type": "button",
"action": "gamepadA", "action": "gamepadA",
"styles": { "styles": {
@ -393,13 +445,16 @@
} }
} }
], ],
[{ [
{
"type": "touchpad", "type": "touchpad",
"axis": [{ "axis": [
{
"input": "axisX", "input": "axisX",
"output": "relativeMouseX", "output": "relativeMouseX",
"sensitivity": 10 "sensitivity": 10
}, { },
{
"input": "axisY", "input": "axisY",
"output": "relativeMouseY", "output": "relativeMouseY",
"sensitivity": 10 "sensitivity": 10
@ -407,7 +462,8 @@
], ],
"renderAsButton": true, "renderAsButton": true,
"action": [ "action": [
"rightTrigger", { "rightTrigger",
{
"type": "layer", "type": "layer",
"target": "AimTouchpad" "target": "AimTouchpad"
} }
@ -420,7 +476,8 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "leftThumb", "action": "leftThumb",
"styles": { "styles": {
@ -431,11 +488,13 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "leftBumper" "action": "leftBumper"
} }
], { ],
{
"type": "button", "type": "button",
"action": "gamepadX", "action": "gamepadX",
"styles": { "styles": {
@ -446,7 +505,8 @@
} }
} }
} }
}, { },
{
"type": "button", "type": "button",
"action": "gamepadY", "action": "gamepadY",
"styles": { "styles": {
@ -461,10 +521,12 @@
] ]
}, },
"upper": { "upper": {
"right": [{ "right": [
{
"type": "button", "type": "button",
"action": "menu" "action": "menu"
}, { },
{
"type": "button", "type": "button",
"action": "view" "action": "view"
} }

View File

@ -0,0 +1,101 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"content": {
"left": {
"inner": [
{
"type": "joystick",
"expand": false,
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.05,
"radial": true
}
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"scale": 1.2
}
]
]
},
"right": {
"inner": [
{
"type": "button",
"action": "gamepadA"
}
],
"outer": [
null,
{
"type": "button",
"action": "gamepadB",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "waypoint"
}
}
}
},
{
"type": "button",
"action": "leftBumper"
},
null,
null,
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
},
null,
[
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "accept"
}
}
}
},
null
]
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
}
]
}
}
}
}
}

View File

@ -0,0 +1,289 @@
{
"schema_version": 1,
"layouts": {
"custom": {
"name": "Custom",
"content": {
"layers": {
"AimTouchpad": {
"right": {
"inner": [
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 3
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 3
}
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "aim"
}
}
}
}
]
},
"sensors": [
{
"type": "gyroscope",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 1
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 0.5
}
]
}
]
}
},
"left": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
},
"expand": false,
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "walk"
}
}
}
}
}
],
"outer": [
null,
null,
[
{
"type": "directionalPad",
"interaction": {
"activationType": "exclusive"
},
"scale": 1.2
}
],
null,
null,
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "leftJoystick",
"deadzone": {
"threshold": 0,
"radial": true
}
},
"action": [
"leftTrigger",
{
"type": "layer",
"target": "AimTouchpad"
}
],
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "leftTrigger"
},
"stroke": {
"opacity": 0.1
}
}
}
}
}
]
},
"right": {
"inner": [
{
"type": "joystick",
"axis": {
"input": "axisXY",
"output": "rightJoystick",
"deadzone": {
"threshold": 0.01,
"radial": true
}
},
"styles": {
"default": {
"knob": {
"faceImage": {
"type": "icon",
"value": "look"
}
}
}
}
}
],
"outer": [
{
"type": "button",
"action": "rightBumper"
},
{
"type": "button",
"action": [
"leftTrigger",
{
"type": "layer",
"target": "AimTouchpad"
}
],
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "leftTrigger"
}
}
},
"toggle": true
},
[
{
"type": "button",
"action": "gamepadB",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "crouch"
}
}
}
},
{
"type": "button",
"action": "rightThumb"
},
{
"type": "button",
"action": "gamepadA",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "jump"
}
}
}
}
],
[
{
"type": "touchpad",
"axis": [
{
"input": "axisX",
"output": "rightJoystickX",
"sensitivity": 3
},
{
"input": "axisY",
"output": "rightJoystickY",
"sensitivity": 3
}
],
"renderAsButton": true,
"action": "rightTrigger",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "fire"
}
}
}
},
{
"type": "button",
"action": "leftThumb",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "sprint"
}
}
}
},
{
"type": "button",
"action": "gamepadX",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "reload"
}
}
}
}
],
{
"type": "button",
"action": "gamepadY",
"styles": {
"default": {
"faceImage": {
"type": "icon",
"value": "interact"
}
}
}
},
{
"type": "button",
"action": "leftBumper"
}
]
},
"upper": {
"right": [
{
"type": "button",
"action": "menu"
},
{
"type": "button",
"action": "view"
}
]
}
}
}
}
}