From df72d775622723efa01e085e3db12179d39210c9 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Wed, 15 May 2024 08:16:10 +0700 Subject: [PATCH] chants-of-sennaar: add layout --- touch-layouts/1631654404.json | 8 ++ touch-layouts/ids.json | 1 + touch-layouts/layouts/chants-of-sennaar.json | 100 +++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 touch-layouts/1631654404.json create mode 100644 touch-layouts/layouts/chants-of-sennaar.json diff --git a/touch-layouts/1631654404.json b/touch-layouts/1631654404.json new file mode 100644 index 0000000..c38ab17 --- /dev/null +++ b/touch-layouts/1631654404.json @@ -0,0 +1,8 @@ +{ + "name": "Chants of Sennaar", + "product_id": "9NR8V6M3QH57", + "default_layout": "custom", + "layouts": [ + "chants-of-sennaar" + ] +} diff --git a/touch-layouts/ids.json b/touch-layouts/ids.json index f55e80a..45d8b13 100644 --- a/touch-layouts/ids.json +++ b/touch-layouts/ids.json @@ -19,6 +19,7 @@ "9NKV34XDW014", "9NKX70BBCDRN", "9NP1P1WFS0LB", + "9NR8V6M3QH57", "9NSL68D814GC", "9P2HHT3VS7MP", "9P47S7NJGWZL", diff --git a/touch-layouts/layouts/chants-of-sennaar.json b/touch-layouts/layouts/chants-of-sennaar.json new file mode 100644 index 0000000..3291e9d --- /dev/null +++ b/touch-layouts/layouts/chants-of-sennaar.json @@ -0,0 +1,100 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "redphx", + "content": { + "left": { + "inner": [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "leftJoystick" + } + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "interact" + } + } + } + } + ], + "outer": [ + null, + { + "type": "button", + "action": "gamepadB" + }, + null, + null, + [ + { + "type": "joystick", + "axis": { + "input": "axisXY", + "output": "rightJoystick" + } + } + ], + { + "type": "button", + "action": "gamepadX", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "inventory" + } + } + } + }, + { + "type": "button", + "action": "gamepadY", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "notebook" + } + } + } + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "rightBumper", + "styles": { + "default": { + "faceImage": { + "type": "icon", + "value": "ability3" + } + } + } + } + ] + } + } + } + } +}