// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
"move": [
{
"id": 0,
"input_sources": [
"keyboard"
],
"name": "Virtual Joystick",
"keys": [
"KeyW",
"KeyA",
"KeyS",
"KeyD"
],
"location": [
{
"type": "dependent_position",
"anchor": [
0,
1
],
"anchor_to_target": [
0.17069598,
-0.22008781
],
"max_x": 220,
"y_on_x": 0.860515
}
],
"radius": 0.10208562
}
],
"tap": [
{
"id": 1,
"input_sources": [
"keyboard"
],
"name": "attack",
"key": "Space",
"location": [
{
"type": "dependent_position",
"anchor": [
1,
1
],
"anchor_to_target": [
-0.14798535,
-0.24972558
],
"y_on_x": 1.1262376
}
],
"radius": 0.1273326
}
]
}