diff --git a/touch-layouts/2108722049.json b/touch-layouts/2108722049.json new file mode 100644 index 0000000..888fd42 --- /dev/null +++ b/touch-layouts/2108722049.json @@ -0,0 +1,7 @@ +{ + "name": "Resident Evil Village", + "default_layout": "custom", + "layouts": [ + "resident-evil-village" + ] +} \ No newline at end of file diff --git a/touch-layouts/651668093.json b/touch-layouts/651668093.json new file mode 100644 index 0000000..33403e4 --- /dev/null +++ b/touch-layouts/651668093.json @@ -0,0 +1,7 @@ +{ + "name": "Resident Evil 7", + "default_layout": "custom", + "layouts": [ + "resident-evil-7" + ] +} \ No newline at end of file diff --git a/touch-layouts/layouts/resident-evil-7.json b/touch-layouts/layouts/resident-evil-7.json new file mode 100644 index 0000000..556a303 --- /dev/null +++ b/touch-layouts/layouts/resident-evil-7.json @@ -0,0 +1,234 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "Kode-Z", + "content": { + "left": { + "outer": [ + null, + null, + [ + { + "type": "directionalPad", + "interaction": { + "activationType": "exclusive" + }, + "scale": 1 + } + ], + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "action": "leftThumb", + "relative": false, + "actionThreshold": 2, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "sprint" + } + } + } + } + } + ], + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.05, + "radial": true + } + }, + "action": "leftTrigger", + "styles": { + "default": { + "outline": { + "indicator": { + "type": "color", + "value": "#ffffff" + }, + "stroke": { + "type": "solid", + "color": "#ffffff" + }, + "opacity": 0.5 + }, + "knob": { + "faceImage": { + "type": "icon", + "value": "aim" + } + } + } + } + } + ] + }, + "right": { + "inner": [ + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "rightTrigger" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "fire" + } + } + } + } + ], + "outer": [ + [ + { + "type": "button", + "action": "rightBumper" + }, + null, + { + "type": "button", + "action": "rightThumb", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "crouch" + } + } + } + } + ], + [ + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "reload" + } + } + } + }, + { + "type": "button", + "action": "gamepadB" + }, + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ], + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + null, + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "leftBumper" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "leftBumper" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "map" + } + } + } + }, + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "inventory" + } + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/touch-layouts/layouts/resident-evil-village.json b/touch-layouts/layouts/resident-evil-village.json new file mode 100644 index 0000000..556a303 --- /dev/null +++ b/touch-layouts/layouts/resident-evil-village.json @@ -0,0 +1,234 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "Kode-Z", + "content": { + "left": { + "outer": [ + null, + null, + [ + { + "type": "directionalPad", + "interaction": { + "activationType": "exclusive" + }, + "scale": 1 + } + ], + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + }, + "action": "leftThumb", + "relative": false, + "actionThreshold": 2, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "sprint" + } + } + } + } + } + ], + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick", + "deadzone": { + "threshold": 0.05, + "radial": true + } + }, + "action": "leftTrigger", + "styles": { + "default": { + "outline": { + "indicator": { + "type": "color", + "value": "#ffffff" + }, + "stroke": { + "type": "solid", + "color": "#ffffff" + }, + "opacity": 0.5 + }, + "knob": { + "faceImage": { + "type": "icon", + "value": "aim" + } + } + } + } + } + ] + }, + "right": { + "inner": [ + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "rightTrigger" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "fire" + } + } + } + } + ], + "outer": [ + [ + { + "type": "button", + "action": "rightBumper" + }, + null, + { + "type": "button", + "action": "rightThumb", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "crouch" + } + } + } + } + ], + [ + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "reload" + } + } + } + }, + { + "type": "button", + "action": "gamepadB" + }, + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ], + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + null, + { + "type": "touchpad", + "axis": { + "input": "axisXY", + "output": "rightJoystick", + "sensitivity": 5, + "deadzone": { + "threshold": 0, + "radial": true + } + }, + "renderAsButton": true, + "action": [ + "leftBumper" + ], + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "leftBumper" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "map" + } + } + } + }, + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "inventory" + } + } + } + } + ] + } + } + } + } +} \ No newline at end of file