From a6b1c60a0955d291924a3c6ccdfd0a0ee78e8cd2 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 1 Mar 2025 20:38:34 +0700 Subject: [PATCH] Balatro --- touch-layouts/1792830437.json | 8 +++ touch-layouts/ids.json | 1 + touch-layouts/layouts/balatro.json | 83 ++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 touch-layouts/1792830437.json create mode 100644 touch-layouts/layouts/balatro.json diff --git a/touch-layouts/1792830437.json b/touch-layouts/1792830437.json new file mode 100644 index 0000000..a7a63fc --- /dev/null +++ b/touch-layouts/1792830437.json @@ -0,0 +1,8 @@ +{ + "name": "Balatro", + "product_id": "9PK087LNGJC5", + "default_layout": "custom", + "layouts": [ + "balatro" + ] +} diff --git a/touch-layouts/ids.json b/touch-layouts/ids.json index c1c6a19..d34a85d 100644 --- a/touch-layouts/ids.json +++ b/touch-layouts/ids.json @@ -30,6 +30,7 @@ "9PBV5F2DBNC6", "9PFGQGC0XWLV", "9PJ2HR6WGRND", + "9PK087LNGJC5", "9PLKVSWR299F", "9PLT62LRF9V7", "9PLZPHBNHTMF", diff --git a/touch-layouts/layouts/balatro.json b/touch-layouts/layouts/balatro.json new file mode 100644 index 0000000..ae4aeda --- /dev/null +++ b/touch-layouts/layouts/balatro.json @@ -0,0 +1,83 @@ +{ + "schema_version": 1, + "layouts": { + "custom": { + "name": "Custom", + "author": "redphx", + "content": { + "left": { + "inner": [ + { + "type": "directionalPad", + "interaction": { + "activationType": "exclusive" + }, + "scale": 1.5 + } + ], + "outer": [ + { + "type": "button", + "action": "rightBumper" + }, + null, + null, + null, + null, + { + "type": "button", + "action": "rightTrigger" + }, + { + "type": "button", + "action": "leftTrigger" + }, + { + "type": "button", + "action": "leftBumper" + } + ] + }, + "right": { + "inner": [ + { + "type": "button", + "action": "gamepadA" + } + ], + "outer": [ + null, + { + "type": "button", + "action": "gamepadB" + }, + null, + null, + null, + { + "type": "button", + "action": "gamepadX" + }, + null, + { + "type": "button", + "action": "gamepadY" + } + ] + }, + "upper": { + "right": [ + { + "type": "button", + "action": "menu" + }, + { + "type": "button", + "action": "view" + } + ] + } + } + } + } +}