From 9af8853750cccf2bbad47dc421500c1ed38f82b4 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:35:01 +0700 Subject: [PATCH] Cleanup dev/ --- touch-layouts/dev/1610974574.json | 7 - touch-layouts/dev/1797327516.json | 7 - touch-layouts/dev/1985701699.json | 7 - touch-layouts/dev/1994003829.json | 7 - touch-layouts/dev/2008767227.json | 7 - touch-layouts/dev/2030093255.json | 7 - touch-layouts/dev/2071676002.json | 7 - touch-layouts/dev/2122751230.json | 7 - touch-layouts/dev/2136524032.json | 7 - touch-layouts/dev/374621264.json | 7 - touch-layouts/dev/918284490.json | 7 - touch-layouts/dev/layouts/a-short-hike.json | 50 --- touch-layouts/dev/layouts/brotato.json | 294 ---------------- touch-layouts/dev/layouts/chicory.json | 193 ---------- touch-layouts/dev/layouts/cocoon.json | 42 --- touch-layouts/dev/layouts/fifa.json | 173 --------- .../dev/layouts/forza-horizon-4-5.json | 244 ------------- touch-layouts/dev/layouts/palworld.json | 333 ------------------ .../dev/layouts/resident-evil-2.json | 250 ------------- 19 files changed, 1656 deletions(-) delete mode 100644 touch-layouts/dev/1610974574.json delete mode 100644 touch-layouts/dev/1797327516.json delete mode 100644 touch-layouts/dev/1985701699.json delete mode 100644 touch-layouts/dev/1994003829.json delete mode 100644 touch-layouts/dev/2008767227.json delete mode 100644 touch-layouts/dev/2030093255.json delete mode 100644 touch-layouts/dev/2071676002.json delete mode 100644 touch-layouts/dev/2122751230.json delete mode 100644 touch-layouts/dev/2136524032.json delete mode 100644 touch-layouts/dev/374621264.json delete mode 100644 touch-layouts/dev/918284490.json delete mode 100644 touch-layouts/dev/layouts/a-short-hike.json delete mode 100644 touch-layouts/dev/layouts/brotato.json delete mode 100644 touch-layouts/dev/layouts/chicory.json delete mode 100644 touch-layouts/dev/layouts/cocoon.json delete mode 100644 touch-layouts/dev/layouts/fifa.json delete mode 100644 touch-layouts/dev/layouts/forza-horizon-4-5.json delete mode 100644 touch-layouts/dev/layouts/palworld.json delete mode 100644 touch-layouts/dev/layouts/resident-evil-2.json diff --git a/touch-layouts/dev/1610974574.json b/touch-layouts/dev/1610974574.json deleted file mode 100644 index 089da12..0000000 --- a/touch-layouts/dev/1610974574.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Cocoon", - "default_layout": "custom", - "layouts": [ - "cocoon" - ] -} diff --git a/touch-layouts/dev/1797327516.json b/touch-layouts/dev/1797327516.json deleted file mode 100644 index 31d21cb..0000000 --- a/touch-layouts/dev/1797327516.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Palworld", - "default_layout": "custom", - "layouts": [ - "palworld" - ] -} diff --git a/touch-layouts/dev/1985701699.json b/touch-layouts/dev/1985701699.json deleted file mode 100644 index 0737b76..0000000 --- a/touch-layouts/dev/1985701699.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Forza Horizon 4", - "default_layout": "custom", - "layouts": [ - "forza-horizon-4-5" - ] -} diff --git a/touch-layouts/dev/1994003829.json b/touch-layouts/dev/1994003829.json deleted file mode 100644 index fa0f0d5..0000000 --- a/touch-layouts/dev/1994003829.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "FIFA 23 (Xbox One)", - "default_layout": "custom", - "layouts": [ - "fifa" - ] -} diff --git a/touch-layouts/dev/2008767227.json b/touch-layouts/dev/2008767227.json deleted file mode 100644 index 780822f..0000000 --- a/touch-layouts/dev/2008767227.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Brotato", - "default_layout": "one-handed-left", - "layouts": [ - "brotato" - ] -} diff --git a/touch-layouts/dev/2030093255.json b/touch-layouts/dev/2030093255.json deleted file mode 100644 index b82dfa8..0000000 --- a/touch-layouts/dev/2030093255.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Forza Horizon 5", - "default_layout": "custom", - "layouts": [ - "forza-horizon-4-5" - ] -} diff --git a/touch-layouts/dev/2071676002.json b/touch-layouts/dev/2071676002.json deleted file mode 100644 index 303ebb1..0000000 --- a/touch-layouts/dev/2071676002.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "FIFA 23 (Xbox Series)", - "default_layout": "custom", - "layouts": [ - "fifa" - ] -} diff --git a/touch-layouts/dev/2122751230.json b/touch-layouts/dev/2122751230.json deleted file mode 100644 index 168f203..0000000 --- a/touch-layouts/dev/2122751230.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "A Short Hike", - "default_layout": "custom", - "layouts": [ - "a-short-hike" - ] -} diff --git a/touch-layouts/dev/2136524032.json b/touch-layouts/dev/2136524032.json deleted file mode 100644 index 57b1cc4..0000000 --- a/touch-layouts/dev/2136524032.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Chicory", - "default_layout": "custom", - "layouts": [ - "chicory" - ] -} diff --git a/touch-layouts/dev/374621264.json b/touch-layouts/dev/374621264.json deleted file mode 100644 index 294dfb5..0000000 --- a/touch-layouts/dev/374621264.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "RESIDENT EVIL 2", - "default_layout": "type-a", - "layouts": [ - "resident-evil-2" - ] -} diff --git a/touch-layouts/dev/918284490.json b/touch-layouts/dev/918284490.json deleted file mode 100644 index a910ee0..0000000 --- a/touch-layouts/dev/918284490.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "RESIDENT EVIL 2 (JP Z Version)", - "default_layout": "type-a", - "layouts": [ - "resident-evil-2" - ] -} diff --git a/touch-layouts/dev/layouts/a-short-hike.json b/touch-layouts/dev/layouts/a-short-hike.json deleted file mode 100644 index 74c600d..0000000 --- a/touch-layouts/dev/layouts/a-short-hike.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "custom": { - "name": "Custom", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "relative": false - } - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadY" - }, - { - "type": "button", - "action": "gamepadB" - }, - { - "type": "button", - "action": "gamepadA" - }, - { - "type": "button", - "action": "gamepadX" - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/brotato.json b/touch-layouts/dev/layouts/brotato.json deleted file mode 100644 index fbf3b84..0000000 --- a/touch-layouts/dev/layouts/brotato.json +++ /dev/null @@ -1,294 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "one-handed-left": { - "name": "One-handed (Left)", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - null, - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ], - null, - null, - { - "type": "button", - "action": "leftBumper", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - } - ] - } - } - }, - "one-handed-right": { - "name": "One-handed (Right)", - "content": { - "right": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - { - "type": "button", - "action": "gamepadB", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - { - "type": "button", - "action": "rightBumper", - "styles": { - "idle": { - "opacity": 0.5 - } - } - }, - null, - null, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ], - { - "type": "button", - "action": "gamepadA", - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - } - ] - } - } - }, - "simplified": { - "name": "Simplified", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - null, - null, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadA" - } - ], - "outer": [ - { - "type": "blank" - }, - { - "type": "button", - "action": "gamepadB" - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "rightBumper" - } - ] - } - } - }, - "simplified-full": { - "name": "Simplified (2 joysticks)", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "relative": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick" - } - } - ], - "outer": [ - null, - null, - [ - { - "type": "directionalPad", - "scale": 1.2, - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "idle": { - "opacity": 0.5 - } - } - } - ] - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadA" - } - ], - "outer": [ - { - "type": "blank" - }, - { - "type": "button", - "action": "gamepadB" - }, - null, - { - "type": "blank" - }, - [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "rightJoystick" - }, - "styles": { - "idle": { - "knob": { - "opacity": 0.5 - } - } - } - } - ] - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "rightBumper" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/chicory.json b/touch-layouts/dev/layouts/chicory.json deleted file mode 100644 index 1e26ce6..0000000 --- a/touch-layouts/dev/layouts/chicory.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "custom": { - "name": "Custom", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "relative": false, - "styles": { - "default": { - "outline": { - "stroke": { - "type": "solid", - "color": "#ff0000aa" - } - }, - "knob": { - "background": { - "type": "color", - "value": "#ff000033" - }, - "stroke": { - "type": "solid", - "color": "#ff0000aa" - } - } - } - } - } - ], - "outer": [ - { - "type": "button", - "action": "rightBumper", - "styles": { - "default": { - "background": { - "type": "color", - "value": "#ff000033" - } - } - } - }, - { - "type": "button", - "action": "rightTrigger", - "styles": { - "default": { - "background": { - "type": "color", - "value": "#ff000033" - } - } - } - }, - [ - { - "type": "directionalPad", - "interaction": { - "activationType": "exclusive" - }, - "styles": { - "default": { - "fill": "#ff000033", - "stroke": { - "type": "solid", - "color": "#ff0000aa" - } - } - } - } - ], - { - "type": "button", - "action": "rightThumb", - "styles": { - "default": { - "background": { - "type": "color", - "value": "#ff000033" - } - } - } - }, - null, - { - "type": "button", - "action": "leftTrigger", - "styles": { - "default": { - "background": { - "type": "color", - "value": "#ff000033" - } - } - } - }, - { - "type": "button", - "action": "leftBumper", - "styles": { - "default": { - "background": { - "type": "color", - "value": "#ff000033" - } - } - } - } - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadY" - }, - { - "type": "button", - "action": "gamepadB" - }, - { - "type": "button", - "action": "gamepadA" - }, - { - "type": "button", - "action": "gamepadX" - } - ], - "outer": [ - null, - null, - null, - null, - [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "deadzone": { - "threshold": 0.05, - "radial": true - } - }, - "styles": { - "default": { - "outline": { - "stroke": { - "type": "solid", - "color": "#ff0000aa" - } - }, - "knob": { - "background": { - "type": "color", - "value": "#ff000033" - }, - "stroke": { - "type": "solid", - "color": "#ff0000aa" - } - } - } - } - } - ] - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "view" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/cocoon.json b/touch-layouts/dev/layouts/cocoon.json deleted file mode 100644 index a8edd26..0000000 --- a/touch-layouts/dev/layouts/cocoon.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "custom": { - "name": "Custom", - "content": { - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "relative": false - } - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadA" - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "gamepadB" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/fifa.json b/touch-layouts/dev/layouts/fifa.json deleted file mode 100644 index c0f5f19..0000000 --- a/touch-layouts/dev/layouts/fifa.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "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": [ - { - "type": "joystick", - "axis": [ - { - "input": "axisXY", - "output": "leftJoystick" - } - ], - "action": "rightBumper", - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "rightBumper" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - [ - { - "type": "joystick", - "expand": false, - "axis": { - "input": "axisXY", - "output": "leftJoystick", - "deadzone": { - "threshold": 0.05, - "radial": true - } - }, - "action": "rightTrigger", - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "rightTrigger" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - null - ], - { - "type": "directionalPad", - "interaction": { - "activationType": "exclusive" - }, - "scale": 1.2 - }, - { - "type": "button", - "action": "leftThumb" - }, - { - "type": "button", - "action": "rightThumb" - }, - null, - { - "type": "joystick", - "axis": [ - { - "input": "axisXY", - "output": "leftJoystick" - } - ], - "action": "leftBumper", - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "leftBumper" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - } - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "gamepadY" - }, - { - "type": "button", - "action": "gamepadB" - }, - { - "type": "button", - "action": "gamepadA" - }, - { - "type": "button", - "action": "gamepadX" - } - ], - "outer": [ - null, - { - "type": "button", - "action": "leftTrigger" - }, - null, - null, - [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "deadzone": { - "threshold": 0.05, - "radial": true - } - } - } - ] - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "view" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/forza-horizon-4-5.json b/touch-layouts/dev/layouts/forza-horizon-4-5.json deleted file mode 100644 index 3c01602..0000000 --- a/touch-layouts/dev/layouts/forza-horizon-4-5.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "custom": { - "name": "Custom", - "content": { - "layers": { - "dPadDisplay": { - "right": { - "inner": [ - { - "type": "directionalPad", - "scale": 1.75, - "interaction": { - "activationType": "exclusive" - } - } - ], - "outer": [ - { - "type": "blank" - }, - { - "type": "blank" - }, - { - "type": "blank" - }, - { - "type": "blank" - }, - { - "type": "blank" - }, - { - "type": "blank" - }, - { - "type": "blank" - } - ] - } - } - }, - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick", - "deadzone": { - "threshold": 0.1, - "radial": true - } - }, - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "steering" - } - } - } - } - } - ], - "outer": [ - { - "type": "button", - "action": "leftBumper" - }, - null, - [ - { - "type": "button", - "action": "rightThumb" - }, - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "deadzone": { - "threshold": 0.1, - "radial": true - } - }, - "relative": false, - "expand": false, - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "switchCamera" - }, - "stroke": { - "opacity": 0.1 - } - }, - "outline": { - "opacity": 0 - } - } - } - }, - { - "type": "button", - "action": "rightBumper" - } - ], - [ - { - "type": "button", - "action": { - "type": "layer", - "target": "dPadDisplay" - }, - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "dPad" - } - } - } - }, - null - ], - [ - { - "type": "button", - "action": "leftThumb" - }, - null - ] - ] - }, - "right": { - "inner": [ - { - "type": "button", - "action": "rightTrigger", - "pullAction": "gamepadA", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "gasPedal" - } - } - } - } - ], - "outer": [ - [ - { - "type": "button", - "action": "gamepadB", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "add" - } - } - } - }, - null - ], - { - "type": "button", - "action": "gamepadA", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "handbrake2" - } - } - } - }, - [ - { - "type": "button", - "action": "leftTrigger", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "brakePedal" - } - } - } - }, - null - ], - { - "type": "button", - "action": "gamepadX", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "subtract" - } - } - } - }, - [ - { - "type": "button", - "action": "gamepadY", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "repeatRefresh" - } - } - } - }, - null - ] - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "view" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/palworld.json b/touch-layouts/dev/layouts/palworld.json deleted file mode 100644 index 7494e0f..0000000 --- a/touch-layouts/dev/layouts/palworld.json +++ /dev/null @@ -1,333 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "custom": { - "name": "Custom", - "content": { - "layers": { - "EnableGyro": { - "sensors": [ - { - "type": "gyroscope", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "sensitivity": 1 - } - } - ] - } - }, - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick", - "deadzone": { - "threshold": 0.01, - "radial": true - } - }, - "action": "leftThumb", - "actionThreshold": 2, - "expand": false, - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "walk" - } - } - }, - "activated": { - "knob": { - "faceImage": { - "type": "icon", - "value": "run" - } - } - } - } - } - ], - "outer": [ - null, - [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick", - "deadzone": { - "threshold": -0.3, - "radial": true - } - }, - "action": [ - "rightTrigger", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "rightTrigger" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - null - ], - { - "type": "directionalPad", - "interaction": { - "activationType": "exclusive" - }, - "scale": 1.2 - }, - { - "type": "button", - "action": "rightThumb" - }, - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "action": [ - "leftBumper", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "leftBumper" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "action": [ - "rightBumper", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "rightBumper" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "action": [ - "leftTrigger", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "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": [ - "leftTrigger", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "aim" - } - } - }, - "toggle": true - }, - null - ], - { - "type": "button", - "action": "gamepadB", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "roll" - } - } - } - }, - { - "type": "button", - "action": "gamepadA", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "jump" - } - } - } - }, - { - "type": "blank" - }, - { - "type": "touchpad", - "axis": [ - { - "input": "axisX", - "output": "rightJoystickX", - "sensitivity": 20 - }, - { - "input": "axisY", - "output": "rightJoystickY", - "sensitivity": 10 - } - ], - "renderAsButton": true, - "action": [ - "rightTrigger", - "leftTrigger", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "fire" - } - } - } - }, - { - "type": "button", - "action": "gamepadX", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "reload" - } - } - } - }, - { - "type": "button", - "action": "gamepadY", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "weaponSelect" - } - } - } - } - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "view" - } - ] - } - } - } - } -} diff --git a/touch-layouts/dev/layouts/resident-evil-2.json b/touch-layouts/dev/layouts/resident-evil-2.json deleted file mode 100644 index 8947012..0000000 --- a/touch-layouts/dev/layouts/resident-evil-2.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "schema_version": 1, - "layouts": { - "type-a": { - "name": "Type A", - "content": { - "layers": { - "EnableGyro": { - "sensors": [ - { - "type": "gyroscope", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "sensitivity": 1 - } - } - ] - }, - "AimTouchpad": { - "right": { - "inner": [ - { - "type": "touchpad", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "sensitivity": 2 - }, - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "aim" - } - } - } - } - ] - } - } - }, - "left": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick", - "deadzone": { - "threshold": 0.01, - "radial": true - } - }, - "expand": false - } - ], - "outer": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "action": [ - "leftBumper", - { - "type": "layer", - "target": "EnableGyro" - } - ], - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "leftBumper" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "leftJoystick" - }, - "action": [ - "leftTrigger", - { - "type": "layer", - "target": "EnableGyro" - }, - { - "type": "layer", - "target": "AimTouchpad" - } - ], - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "leftTrigger" - }, - "stroke": { - "opacity": 0.1 - } - } - } - } - }, - null - ], - null, - { - "type": "button", - "action": "rightThumb" - }, - null, - [ - { - "type": "button", - "action": "rightBumper" - } - ], - null - ] - }, - "right": { - "inner": [ - { - "type": "joystick", - "axis": { - "input": "axisXY", - "output": "rightJoystick", - "deadzone": { - "threshold": 0.01, - "radial": true - } - } - } - ], - "outer": [ - [ - { - "type": "button", - "action": "gamepadY", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "inventory" - } - } - } - } - ], - { - "type": "button", - "action": "gamepadB" - }, - { - "type": "button", - "action": "gamepadA" - }, - [ - { - "type": "button", - "action": "leftThumb", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "run" - } - } - } - }, - null, - { - "type": "directionalPad", - "interaction": { - "activationType": "exclusive" - }, - "scale": 1.2 - }, - null - ], - { - "type": "touchpad", - "axis": [ - { - "input": "axisX", - "output": "rightJoystickX", - "sensitivity": 1 - }, - { - "input": "axisY", - "output": "rightJoystickY", - "sensitivity": 1 - } - ], - "renderAsButton": true, - "action": "rightTrigger" - }, - { - "type": "button", - "action": "gamepadX", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "reload" - } - } - } - }, - null - ] - }, - "upper": { - "right": [ - { - "type": "button", - "action": "menu" - }, - { - "type": "button", - "action": "view", - "styles": { - "default": { - "faceImage": { - "type": "icon", - "value": "map" - } - } - } - } - ] - } - } - } - } -}