// 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": "position",
"anchor": [
0,
0
],
"anchor_to_target": [
0.50048494,
0.75123018
],
"y_on_x": 0.88178295
}
],
"radius": 0.09786769
}
],
"tap": [
{
"id": 1,
"input_sources": [
"keyboard"
],
"name": "Tap",
"key": "Digit1",
"location": [
{
"type": "dependent_position",
"anchor": [
0.5,
1
],
"anchor_to_target": [
-0.08649207443,
-0.07024793388
],
"x_on_y": 2.460784314
}
],
"radius": 0.048660472
},
{
"id": 2,
"input_sources": [
"keyboard"
],
"name": "Tap",
"key": "Digit2",
"location": [
{
"type": "dependent_position",
"anchor": [
0.5,
1
],
"anchor_to_target": [
-0.0299793246,
-0.07024793388
],
"x_on_y": 0.8529411765
}
],
"radius": 0.048660472
},
{
"id": 3,
"input_sources": [
"keyboard"
],
"name": "Tap",
"key": "Digit3",
"location": [
{
"type": "dependent_position",
"anchor": [
0.5,
1
],
"anchor_to_target": [
0.0299793246,
-0.07024793388
],
"x_on_y": 0.8529411765
}
],
"radius": 0.048660472
},
{
"id": 4,
"input_sources": [
"keyboard"
],
"name": "Tap",
"key": "Digit4",
"location": [
{
"type": "dependent_position",
"anchor": [
0.5,
1
],
"anchor_to_target": [
0.09131633356,
-0.07024793388
],
"x_on_y": 2.460784314
}
],
"radius": 0.048660472
}
]
}