From 1fdd53f3accb19d05ab94da886629e4fcb5bc009 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sat, 11 May 2024 16:46:25 +0700 Subject: [PATCH] little-kitty-big-city: update layout --- .../layouts/little-kitty-big-city.json | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/touch-layouts/layouts/little-kitty-big-city.json b/touch-layouts/layouts/little-kitty-big-city.json index 715dc62..c8019ca 100644 --- a/touch-layouts/layouts/little-kitty-big-city.json +++ b/touch-layouts/layouts/little-kitty-big-city.json @@ -9,10 +9,30 @@ "inner": [ { "type": "joystick", - "expand": false, "axis": { "input": "axisXY", "output": "leftJoystick" + }, + "action": "rightBumper", + "actionThreshold": 2.5, + "expand": false, + "styles": { + "default": { + "knob": { + "faceImage": { + "type": "icon", + "value": "walk" + } + } + }, + "activated": { + "knob": { + "faceImage": { + "type": "icon", + "value": "run" + } + } + } } } ], @@ -23,28 +43,8 @@ }, [ { - "type": "joystick", - "axis": [ - { - "input": "axisXY", - "output": "leftJoystick" - } - ], - "action": "rightBumper", - "styles": { - "default": { - "knob": { - "faceImage": { - "type": "icon", - "value": "sprint" - }, - "stroke": { - "type": "solid", - "opacity": 0.1 - } - } - } - } + "type": "button", + "action": "rightBumper" }, null ], @@ -87,7 +87,7 @@ "knob": { "faceImage": { "type": "icon", - "value": "crouch" + "value": "leftBumper" }, "stroke": { "type": "solid",