From 86a28a2797bae742f353a382f855bd55e0481253 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 10 May 2024 21:49:23 +0700 Subject: [PATCH] bejeweled-3: add layout --- touch-layouts/378390466.json | 8 +++ touch-layouts/ids.json | 1 + touch-layouts/layouts/bejeweled-3.json | 70 ++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 touch-layouts/378390466.json create mode 100644 touch-layouts/layouts/bejeweled-3.json diff --git a/touch-layouts/378390466.json b/touch-layouts/378390466.json new file mode 100644 index 0000000..f4d5b94 --- /dev/null +++ b/touch-layouts/378390466.json @@ -0,0 +1,8 @@ +{ + "name": "Bejeweled 3", + "product_id": "BR7QJW8V9L2S", + "default_layout": "custom", + "layouts": [ + "bejeweled-3" + ] +} diff --git a/touch-layouts/ids.json b/touch-layouts/ids.json index eca56b4..f55e80a 100644 --- a/touch-layouts/ids.json +++ b/touch-layouts/ids.json @@ -32,6 +32,7 @@ "9PNJXVCVWD4K", "BPCN22ZVT05C", "BR1D9CR82ZM8", + "BR7QJW8V9L2S", "BTQMHK78ZPF9", "BWMH951M3G3P", "BX3M8L83BBRW", diff --git a/touch-layouts/layouts/bejeweled-3.json b/touch-layouts/layouts/bejeweled-3.json new file mode 100644 index 0000000..ace1b16 --- /dev/null +++ b/touch-layouts/layouts/bejeweled-3.json @@ -0,0 +1,70 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "redphx", + "content": { + "left": { + "inner": [ + { + "type": "directionalPad", + "scale": 1.5, + "interaction": { + "activationType": "exclusive" + } + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadY" + }, + { + "type": "button", + "action": "gamepadB" + }, + { + "type": "button", + "action": "gamepadA" + }, + { + "type": "button", + "action": "gamepadX" + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + null, + null, + null, + null, + null, + null, + { + "type": "button", + "action": "leftBumper" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view" + } + ] + } + } + } + } +}