From 93b86311c8da83089593478afd005bb22582e16a Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 10 May 2024 09:41:28 +0700 Subject: [PATCH] littke-kitty-big-city: add layout --- touch-layouts/1753744295.json | 8 + touch-layouts/ids.json | 1 + .../layouts/little-kitty-big-city.json | 196 ++++++++++++++++++ 3 files changed, 205 insertions(+) create mode 100644 touch-layouts/1753744295.json create mode 100644 touch-layouts/layouts/little-kitty-big-city.json diff --git a/touch-layouts/1753744295.json b/touch-layouts/1753744295.json new file mode 100644 index 0000000..424a513 --- /dev/null +++ b/touch-layouts/1753744295.json @@ -0,0 +1,8 @@ +{ + "name": "Little Kitty, Big City", + "product_id": "9NF5S7MLM8XT", + "default_layout": "custom", + "layouts": [ + "little-kitty-big-city" + ] +} diff --git a/touch-layouts/ids.json b/touch-layouts/ids.json index 51c740a..3220fd7 100644 --- a/touch-layouts/ids.json +++ b/touch-layouts/ids.json @@ -14,6 +14,7 @@ "9N9C9KTPXL3X", "9NDDMHZRZ0R6", "9NDT1MS39FXZ", + "9NF5S7MLM8XT", "9NK78DF207SD", "9NKV34XDW014", "9NKX70BBCDRN", diff --git a/touch-layouts/layouts/little-kitty-big-city.json b/touch-layouts/layouts/little-kitty-big-city.json new file mode 100644 index 0000000..f955abd --- /dev/null +++ b/touch-layouts/layouts/little-kitty-big-city.json @@ -0,0 +1,196 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "redphx", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "expand": false, + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ], + "outer": [ + { + "type": "button", + "action": "rightTrigger" + }, + { + "type": "joystick", + "axis": [ + { + "input": "axisXY", + "output": "leftJoystick" + } + ], + "action": "rightBumper", + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "sprint" + }, + "stroke": { + "type": "solid", + "opacity": 0.1 + } + } + } + } + }, + null, + { + "type": "button", + "action": "dPadRight", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "inventory" + } + } + } + }, + { + "type": "button", + "action": "dPadLeft", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "notebook" + } + } + } + }, + null, + { + "type": "joystick", + "axis": [ + { + "input": "axisXY", + "output": "leftJoystick" + } + ], + "action": "leftBumper", + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "crouch" + }, + "stroke": { + "type": "solid", + "opacity": 0.1 + } + } + } + } + }, + { + "type": "button", + "action": "leftTrigger" + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "jump" + } + } + } + } + ], + "outer": [ + null, + { + "type": "button", + "action": "gamepadB" + }, + null, + { + "type": "button", + "action": "dPadUp", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "map" + } + } + } + }, + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + }, + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "emotes" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "dPadDown", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "capture" + } + } + } + } + ] + } + } + } + } +}